7915 Commits

Author SHA1 Message Date
Shauren
51b46987c3 Scripts/Trial of the Crusader: Despawn Snobold Vassals on Gormok death 2010-12-29 22:10:42 +01:00
Machiavelli
e26294db56 Scripts: Correct function registration of spell_dru_moonkin_form_passive_AuraScript, fix intendation in world_database.sql
Author: QAston
2010-12-29 11:58:09 +01:00
Machiavelli
0f6533e4bd Scripts/Trial of the Crusader: Correct spell id for spinning strike. Also remove a redundant comment (Vehicle for Mistress of Pain was fixed in http://code.google.com/p/trinitycore/source/detail?r=90ff8ab964f3ec3a8bcee939878505cdea84cebc)
--HG--
branch : trunk
2010-12-28 11:59:11 +01:00
QAston
ef968f4b15 Core/Unit: Big cleanup in Unit::CalcAbsorbResist
Core/AuraScript:
	Fix compile time check for AuraScript functions
	Remove AuraApplication from hook functions parameter list, use GetTarget() and GetTargetApplication() instead
	Add OnEffectAbsorb hook
Scripts: move handlers of Spell Deflection, Savage Defense, Primal Tenacity, Nerves of Steel, Astral shift from core to scripts.

--HG--
branch : trunk
2010-12-27 20:14:54 +01:00
Shauren
8865d367c6 Scripts/Trial of the Crusader: Made instance script a more readable, fixed early despawning of worm boss
Closes issue #3915.

--HG--
branch : trunk
extra : rebase_source : 7c086f0859bec23e53b2f9f9b2c458c48b9940df
2010-12-27 18:19:49 +01:00
Shauren
ef347b53ef Scripts/Icecrown Citadel: Removed vehicle hacks for Bone Spike
--HG--
branch : trunk
2010-12-27 15:53:11 +01:00
Machiavelli
f0d884ee20 Scripts/Ulduar: Implement script for General Vezax encounter.
Based on original patch by Lopin -- thank you!

--HG--
branch : trunk
2010-12-26 23:35:12 +01:00
linencloth
efbc73d025 Core/Player: Split RemoveQuest into 2 separate functions
--HG--
branch : trunk
2010-12-26 21:34:08 +01:00
Shauren
79070ca820 Scripts/Serpentshrine Cavern: Fixed "The Lurker Above" achievement and removed hacks for the event
--HG--
branch : trunk
2010-12-26 16:35:29 +01:00
linencloth
b150172521 Core/QuestStatus:
- Separate rewarded quests from active quests, and store them in a new table to reduce database size
- Drop the no longer needed `rewarded` column from character_queststatus for smaller table size
- Prevent filling the database with dropped quests
  - Delete useless records
- Implement queststatus save "queues" instead of states
- Minor optimizations

WARNING: Backup your database!

--HG--
branch : trunk
2010-12-26 04:16:18 +01:00
Machiavelli
b0eaf1f42c Scripts/Ulduar: Despawn trigger for towers when towers are destroyed. (Allows proper spawn linking)
--HG--
branch : trunk
2010-12-25 22:14:53 +01:00
Shauren
99ff32be28 Scripts/Spells: Added support for Red Rider Air Rifle (item 46725)
--HG--
branch : trunk
2010-12-25 15:26:16 +01:00
click
b181ba21d9 Core: Fix a few warnings here and there.
--HG--
branch : trunk
2010-12-25 06:28:38 +01:00
Machiavelli
385b81662a Fix build
--HG--
branch : trunk
2010-12-24 20:17:38 +01:00
Machiavelli
18cc4c4aba Scripts/Orgrimmar: Remove a not finished quest script. Proper quest support will be included in a future TDB release.
Author: Nay

--HG--
branch : trunk
2010-12-24 19:54:52 +01:00
Machiavelli
c05ed659cb Core/Entities:
- Rename creature_linked_respawn to linked_respawn
- Update functionality: add field ´linkType´.
** 0 = creature respawn dependant on creature (default)
** 1 = creature respawn dependant on gameobject
** 2 = gameobject respawn dependant on gameobject
** 3 = gameobject respawn dependant on creature

--HG--
branch : trunk
2010-12-24 18:55:50 +01:00
azazel
8a8dedfd6e Scripts/HoL: fix Ionar dispersing into sparks (by tassader1000) Closes issue #4573
Fix tested and approved by Aokromes and kiper.

NOTE: Do not forget the DB part of the commit!

--HG--
branch : trunk
2010-12-24 17:59:54 +06:00
Shauren
928443d899 Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Shauren
0f3b9019a8 Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00
Shauren
7b4e1c6387 Core/ObjectMgr: Static members are no longer accessed through singleton
--HG--
branch : trunk
2010-12-22 20:23:47 +01:00
Machiavelli
d9ba90d277 Scripts/Ulduar:
- Fix Rune of Summoning + use correct spell for Lightning Elemental passive + fix a crash
- Fix Rune of Power - thanks to Shauren for spell target help (see DB data)
** Note: Aura system bug causes Rune of Power aura to be reapplied every 0.5 second
- Prevent engaging bosses one by one
- Respawn bosses if encounter failed
- Fix supercharge appliance and stacking
- Add a few missing changes to instance data saving fix from a85e26e211
- Cleanup

--HG--
branch : trunk
2010-12-22 17:40:12 +01:00
Shocker
09afac2838 Scripts/Ulduar: Typo fix for Gravity Bomb from XT-002 Deconstructor, thanks to georgiosburnham, closes issue #5226
--HG--
branch : trunk
2010-12-22 08:59:11 +02:00
Machiavelli
186ec40571 Typo, thanks Shauren for spotting
--HG--
branch : trunk
2010-12-21 15:51:51 +01:00
Machiavelli
c08d04365d Script/Ulduar:
- Fix instance data loading from DB
- Return correct guid for GetData(TYPE_HODIR)

Thanks to Socolin for reporting the errors

--HG--
branch : trunk
2010-12-21 15:47:09 +01:00
Machiavelli
30c55a4a97 Scripts/Ulduar: Remove a silly coordinate based reset condition in Ignis script
--HG--
branch : trunk
2010-12-21 13:53:29 +01:00
Machiavelli
0d947f260f Scripts/Ulduar: Fix logic error in Tympanic Tantrum timer (XT-002)
--HG--
branch : trunk
2010-12-21 13:40:12 +01:00
Machiavelli
2bacf7ee66 Scripts/Ulduar: Fix slow effect on ¨A Pool of Tar¨ (Flame Leviathan encounter)
--HG--
branch : trunk
2010-12-21 13:29:53 +01:00
Shauren
834285c86d Oops, fixed compile
--HG--
branch : trunk
2010-12-20 12:06:12 +01:00
Shauren
3fefb13bd4 Scripts/Silithus: Fixed some int -> float casts, should fix invalid coord error
--HG--
branch : trunk
2010-12-20 12:03:23 +01:00
Shauren
e3e77aceab Scripts/Temple of Anh'Qiraj: Fixed possible crash in mob_anubisath_sentinel
--HG--
branch : trunk
2010-12-20 11:39:12 +01:00
Shauren
756ee5832b Core/Auras: Allow stacking of auras proced from different items
Closes issue #2296.

--HG--
branch : trunk
2010-12-20 11:04:48 +01:00
azazel
6ec717ed5b Scripts/HoL:
* fix Volkhan script: after losing 20% HP Volkhan is supposed to run back to his Anvil and smack it with his hammer. 3 Golems are supposed to fly out of it and spawn (by LethalInjectionX) Closes issue #3895
* fix instance doors to remain open after use (by msholto) Closes issue #4773
Both fixes tested and approved by Aokromes.

NOTE: Do not forget the DB part of the commit!

--HG--
branch : trunk
2010-12-20 14:59:39 +06:00
Shauren
85d69dc73d Scripts/Spells: Explicitly remove all other auras with the same id when applying Animal Blood (46221)
--HG--
branch : trunk
2010-12-19 20:03:56 +01:00
Shauren
c35947816c Scripts/Trial of the Crusader: Fixed possible crashes in announcer gossip
Closes issue #3850.

--HG--
branch : trunk
2010-12-19 14:46:13 +01:00
linencloth
59da698189 Core: Rename spell attributes, use more general names
--HG--
branch : trunk
2010-12-19 05:15:47 +01:00
Shauren
8d76329eff Scripts/Temple of Ahn'Qiraj: Its generally not a good idea to delete stuff before using it; fixed crash
Closes issue #4357.

--HG--
branch : trunk
extra : rebase_source : b829284f60e2b55f8e79db72751252cc6619e59a
2010-12-19 00:27:38 +01:00
Shauren
3ad400ad1a Scripts/Obsidian Sanctum: Removed unneeded code causing crashes
Closes issue #5191.

--HG--
branch : trunk
2010-12-18 22:22:25 +01:00
Supabad
8ce0abbbc8 Scripts/Obsidian Sanctum Add support for when encounter is in progress. thnx to kiper
--HG--
branch : trunk
2010-12-18 18:07:24 +01:00
Shauren
4a067d5095 Fixed build i broke
--HG--
branch : trunk
2010-12-17 20:48:55 +01:00
Shauren
ecd2fbb2b1 Scripts/Vault of Archavon: Cleaned and simplified scripts, fixed Toravon's Frozen Orb summon count
Closes issue #2857.

--HG--
branch : trunk
2010-12-17 20:37:20 +01:00
Machiavelli
57d72fa708 Core/Scripts: Prevent double call to mob_acolyte_of_shadronAI::Reset() which applies encounter-related aura´s to certain creatures. Reset() was called from AIM_Initialize and prior to that the AI factory selector
Update issue #5152
Please try to re-reproduce

--HG--
branch : trunk
2010-12-17 14:58:23 +01:00
Shauren
82f45966fc Core/Unit: Renamed addUnitState/hasUnitState/clearUnitState to AddUnitState/HasUnitState/ClearUnitState
Core/Vehicles: Allow the vehicle to always damage the passenger (removed unneded dbc hacks from scripts)

--HG--
branch : trunk
2010-12-17 13:43:24 +01:00
click
a7f3548259 Core: Prevent using uninitialized memory in Lazy Peon script - patch by ge0rg
--HG--
branch : trunk
2010-12-17 05:03:25 +01:00
Anubisss
b702bd8987 This not needed too, correctly checked with UpdateVictim().
--HG--
branch : trunk
2010-12-16 18:13:03 +01:00
Anubisss
6d9029c12e Make some cleanup.
My thank goes to Az@zel for the code analysis.

--HG--
branch : trunk
2010-12-16 18:08:23 +01:00
Machiavelli
bb7bd9ef45 Core/Spells: Fix a possible crash in spell_hun_readiness_SpellScript
--HG--
branch : trunk
2010-12-16 16:00:56 +01:00
Shauren
1bc9b905f6 Scripts/Icecrown Citadel: Removed WIP leftovers
--HG--
branch : trunk
2010-12-15 16:39:23 +01:00
Shauren
2db0c7c017 Scripts/Icecrown Citadel: Festergut's Gas Spore and Vile Gas should not happen at the same time
--HG--
branch : trunk
extra : rebase_source : dbb903afbfbfdee5c2c3ae0be7181508e0eca1b2
2010-12-15 16:36:59 +01:00
_manuel_
6f551d853f Core/Scripts: Novos the Summoner should only summon 4 Crystal Handlers.
--HG--
branch : trunk
2010-12-15 12:16:31 -03:00
Spp
382fef1958 Core: Some warning fixes
--HG--
branch : trunk
2010-12-15 10:44:06 +01:00