Commit Graph
538 Commits
Author SHA1 Message Date
Spp- 0b5c03f66b Core/Scripts: ScriptRegistry is no longer the part of ScriptMgr public interface, it is not required by caller side. Also remove extra function call to GetScriptId in scripts 2011-07-27 14:52:59 +02:00
Shauren 3e5aa2d1ff Core/Movement: Implemented methods to animate creatures landing and takeoff and use them in Sindragosa script 2011-07-27 12:40:14 +02:00
QAston b0fe236265 Core: Use new SpellInfo class in core. Sadly, this commit is not compatibile with some of the custom code. To make your code work again you may need to change:
*SpellEntry is now SpellInfo
*GetSpellProto is now GetSpellInfo
*SpellEntry::Effect*[effIndex] is now avalible under SpellInfo.Effects[effIndex].*
*sSpellStore.LookupEntry is no longer valid, use sSpellMgr->GetSpellInfo()
*SpellFunctions from SpellMgr.h like DoSpellStuff(spellId) are now: spellInfo->DoStuff()
*SpellMgr::CalculateEffectValue and similar functions are now avalible in SpellEffectInfo class.
*GET_SPELL macro is removed, code which used it is moved to SpellMgr::LoadDbcDataCorrections
*code which affected dbc data in SpellMgr::LoadSpellCustomAttr is now moved to LoadDbcDataCorrections
2011-07-26 23:09:28 +02:00
tassader 8bf7af541f Scripts/Ahn'kahet: Fix a bug with Herald Volazj after party wipe 2011-07-24 04:09:55 +07:00
Shauren 18d4daf539 Revert "Scripts/Icecrown Citadel: Fixed Sindragosa first air phase entering condition (when reaching 85% health, not timed)"
This reverts commit c1fb71fefc.
2011-07-23 00:22:38 +02:00
Shauren 7303adf1eb Core/Scripts: Merged ZoneScript::ProcessEvent methods into one accepting WorldObject* parameter 2011-07-22 21:52:53 +02:00
Shauren 74e2d981ac Core/GameObject: Refactored destructible building handling, properly implemented spell effect repair 2011-07-22 21:22:05 +02:00
Shauren 0a4f18fab3 Compile fix and removed unneeded call in HomeMovementGenerator initialization 2011-07-22 20:10:48 +02:00
Shauren 6b1a7497dc Scripts/Icecrown Citadel: Fixed Precious' Plagued Zombies duration
Closes #2365
2011-07-22 19:05:46 +02:00
tobmaps 6a89bd767f Scripts/Trial of the Crusader
* Use spells instead of scripts to handle summons used by Lord Jaraxxus
* Fix stacks for spell Nether Power used by Lord Jaraxxus
* Make some triggers invisible

Closes #829
2011-07-22 06:04:10 +07:00
Machiavelli bcdbc9517e Scripts/Naxxramas: Remove improper unit flags from Gothik the Harvester and properly make him ignore damage taken in phase 1. 2011-07-19 20:32:31 +02:00
Shauren 19036d260a Scripts/Icecrown Citadel
* Fixed Gas Spore resistance debuff
* Removed obsolete scripts since aura stacking changes

Closes #2285
2011-07-15 14:41:49 +02:00
Shauren 1e3c23a4e8 Core/Spells: Set UNIT_FIELD_TARGET to current spell cast target for proper facing the target 2011-07-15 12:33:03 +02:00
Shauren 34124f6ce9 Scripts/Icecrown Citadel
* Lord Marrowgar's Coldflame will now spread slower
* Lord Marrowgar will no longer attempt to target tanks with Bone Spike Graveyard
* Valithria Dreamwalker will now properly cast Dreamwalker's Rage and kill enemy creatures
* Blood-Queen Lana'Thel will now warn the player who is under effects of Frenzied Bloodthirst
2011-07-08 18:15:57 +02:00
QAston 0dc90a2cbb Core/Spells: use spell caster as a target of spells triggered by SPELL_EFFECT_FORCE_CAST 2011-07-07 18:02:59 +02:00
Shauren 0059e2e21b Scripts/Icecrown Citadel: Sindragosa will now mark 2 players for frost tombs on 10 man heroic mode
Closes #2233
2011-07-05 19:51:15 +02:00
Supabad 1a0506ca72 Scripts/Ulduar: Cleanup in Flame Leviathan. 2011-07-03 21:16:52 +02:00
click 1aff85f541 Core: Cleaning up hungarian notation - Phase8: pSummon -> summon (also did related hits) 2011-07-03 00:28:03 +02:00
click cc02a3fa79 Core: Cleaning up hungarian notation - Phase7: pOwner -> owner 2011-07-03 00:06:11 +02:00
click db045c40ad Core: Cleaning up hungarian notation - Phase5: pKiller -> killer 2011-07-02 23:58:05 +02:00
click f676585cac Core: Cleaning up hungarian notation - Phase5: pWho -> who 2011-07-02 23:53:38 +02:00
click f997363c08 Core: Cleaning up hungarian notation - Phase3: pVictim -> victim 2011-07-02 23:50:02 +02:00
click 70115f52f7 Core: Cleaning up hungarian notation - Phase3: pTarget -> target 2011-07-02 23:16:45 +02:00
click 169f5da8c3 Core: Cleaning up hungarian notation - Phase2: pPlayer -> player 2011-07-02 22:52:42 +02:00
click f91ee24184 Core: Start cleaning up hungarian notation - Phase1: pCreature -> creature 2011-07-02 22:18:03 +02:00
Shauren f3dfa8066a Scripts/Icecrown Citadel
* Fixed combat logs for Essence of the Blood Queen healing
* Added missing initialization for weekly quest status Blood Quickening
* Build fix for previous revision
2011-07-02 14:05:40 +02:00
Shauren 7ebb16a3f2 Scripts/Icecrown Citadel: Fixed room check for Blood Prince Council 2011-07-02 13:38:49 +02:00
Shauren 65a40a5437 Scripts/Icecrown Citadel: Teleporting to the Frozen Throne should now happen as on retail (with an areatrigger, not gossip), also added missing spawns to Frozen Throne and Tirion's gossip
NOTE: This does NOT mean The Lich King script is coming soon
2011-07-02 12:38:07 +02:00
Lopin 08be81caca Scripts/Ulduar: Fixed achievement Iron Dwarf, Medium Rare in Razorscale's encounter. Thanks to Shauren for help with this achievement 2011-07-01 18:04:00 +02:00
click a9c9ab0efa Core: Clean up script variables to make variables consistant/standardized, and some additional warning-removals:
+ Fix compilewarning in Unit.cpp
+ Remove/comment out unused parameters for some commandscripts/scripts (warnings)
+ Replace "plr" with "player" all over the scriptbase for consistency
2011-07-01 03:00:39 +02:00
Shauren f5102b6e6b Core/Scripts: Commented EventMap and added GetNextEventTime to know when will next event with given id run 2011-06-30 22:56:32 +02:00
Spp- 6fd41ae50e Scripts: Reorder file names in Commands/CMakeList file and cosmetic changes in all scripts 2011-06-30 14:24:56 +02:00
Spp- 1e95341827 Cosmetic: Remove trailing whitespaces 2011-06-30 11:30:36 +02:00
Shauren 52f60df6a3 Scripts/Icecrown Citadel: Boiling Blood will not attempt to find a target if there isnt any 2011-06-30 09:31:46 +02:00
Machiavelli 299dd39d1f Scripts/Naxxramas: Achievement The Safetey Dance (Heigan the Unclean) shouldn't be marked as failed if non players die due to erruptions. Also tiny cleanup in affected file. 2011-06-29 05:03:47 +02:00
Lopin 7d1e0db5ec Scripts/Ulduar:
* Codestyle changes to Assembly of Iron script
* Fixed targeting for Rune of Power
* Fixed Brundir's Lightning Tendrils
* Fixed case when Brundir is killed somewhere in the air - he will fall on the ground now
* Move Kologarn's criteriaId for timed achievement to header file
2011-06-28 21:19:48 +02:00
kaelima 142943d4c1 This reverts commit f580cddc09. 2011-06-28 13:05:15 +02:00
kaelima 1a46e961fa Revert "Core/Misc: Minor code style fixes and cleanups"
This reverts commit ffe301b927.
2011-06-28 13:02:31 +02:00
kaelima d01f043fea Revert "Fix build"
This reverts commit c9e465fcd9.
2011-06-28 13:02:24 +02:00
tobmaps c9e465fcd9 Fix build 2011-06-28 15:55:30 +07:00
tobmaps ffe301b927 Core/Misc: Minor code style fixes and cleanups 2011-06-28 15:51:21 +07:00
click f580cddc09 Core: Add wintergrasp-patch to wintergrasp_cleanup branch - resurrected from an old work-repository, now over as a branch to work on.
Original patch by socolin, cand a ton of contributors :
mathman, joda, spp, silinoron, josh, malcrom, shauren, machiavelli, click, rat, leak, tobmaps, _manuel_, the tcfr team (via socolin), and tons of others for chiming in.

NOTE: THIS IS A WORKING-BRANCH, AND _NOT_ MENT FOR PUBLIC USE OR EVEN CONSIDERED STABLE!
2011-06-28 00:56:29 +02:00
kaelima 9a67aaa8b8 DB/Creature:
- Nuke the hacky column DeathState.
- Removed some hacks from Kologarn script, including some cleanup.
- Removed set deathstate command.

BIG thanks to Malcrom for replacing all creatures that had deathstate with proper dynamicflags/auras.
2011-06-27 20:22:53 +02:00
Lopin 1c04403866 Scripts/Ulduar:
* Move Knock achievements back to Freya's script
* Better improvement to Con-Speed-Atory achievement
* Remove Rare Cache of Winter when encounter time is bigger then 3 minutes
2011-06-27 18:42:38 +02:00
Lopin 3214bf3bac Scripts/Freya: Achievement rewarding spell is casted even if no Elder is alive 2011-06-27 16:06:27 +02:00
Lopin 8fd3c912c1 Scripts/Ulduar: Fixed achievement Con-Speed-Atory in Freya's encounter 2011-06-27 14:05:35 +02:00
Lopin e7778c7231 Scripts/Ulduar: Move handling of Freya's "Knock" achievements to instance script + clean up 2011-06-26 16:35:51 +02:00
Lopin ff5367c03d Scripts/Ulduar: Allow Flame Leviathan's Hard Mode achievement trigger only on Hard Mode 2011-06-26 14:46:36 +02:00
Shauren bcd62b8d29 Scripts/Icecrown Citadel: Valithria Dreamwalker encounter should start when she is healed and fixed achievement credit
Closes #2117
Closes #2058
2011-06-26 12:47:34 +02:00
Shauren 2b1039d0e1 Scripts/Icecrown Citadel
* Removed spellmgr hacks for Boiling Blood
* Removed obsolete effect from Resistant Skin causing them to lose the aura when hit by shadow spell
2011-06-26 11:45:29 +02:00