Commit Graph

7419 Commits

Author SHA1 Message Date
Havenard
5c5c1e3724 Scripts/ICC: Fix Shadow Prison
Fix Shadow Prison implementation, the control aura should not be cast on players.
Fix Shadow Prison aura remaining on players if they leave the instance during the encounter,
causing them to kill all nearby moving enemies including inside battlegrounds.
2011-10-09 21:06:47 -03:00
Lopin
3b4b6a2d9a Scripts/Ulduar: Changed behaving of Elders when Freya is killed 2011-10-09 14:04:21 +02:00
Cron
c244f1d7bf Scripts/ICC: Prevent players from teleporting to the Lich King if they are in combat. 2011-10-09 02:22:38 +00:00
Shauren
72fc756bff Scripts/Icecrown Citadel
* Minor corrections to Sister Svalna event
* Removed unneeded workarounds for Deathbringer Saurfang procs
* Changed GM check to use account level (makes no sense to check isGameMaster as that does not allow entering combat at all)
2011-10-08 17:39:03 +02:00
Machiavelli
224c2d3d07 Scripts/Ulduar/Freya: Kill the leftovers of old chest handling 2011-10-08 13:29:48 +02:00
Machiavelli
9397e7a16f Scripts/Ulduar/Flame Leviathan: Fix crash #3403. Thanks to Shauren for the heads up 2011-10-08 13:17:45 +02:00
Machiavelli
7b0bff3f7b Scripts/Ulduar/Freya: Fix chest spawn on death. Note that this needs DB data, both for loot and possibly gobject templates.
Closes #2220
Ref #1928
Ref #1878
2011-10-08 13:17:40 +02:00
Bootz
5b4c7783c2 REPO: Code-style clean-ups
* Fixed pMap->map
* Fixed pInstance->instance
* Fixed pInsta->instance
* Fixed pQuest->quest
* Fixed pWho->who
* Fixed pTarget->target
* Fixed pGo->go

~DEVNOTES: Handlers/QuestHandler.cpp still needs to be cleaned...
2011-10-07 19:45:43 -05:00
Shauren
88277ac10c Scripts/Icecrown Citadel: Fixed possible crash in spell_the_lich_king_necrotic_plague_jump
Closes #3390
2011-10-07 18:51:11 +02:00
Shocker
7f89678bcd Merge pull request #3278 from lost-illusion/master
CleanUp
2011-10-07 09:28:10 -07:00
Bootz
81c0a3a847 REPO: code-style clean-up
* Fixed pPlayer->player
* Fixed pCreature->creature

~DevNote: codestyle for Player should be (*player), not *plr or *p...
same goes for Creatures (*creature)... more cleaning needed.
We've way too many codestyles happening here.
2011-10-07 11:08:09 -05:00
Bootz
96d7a1e970 REPO: code-style clean-up
* Fixed pGuild->guild
* Fixed pGroup->group
* Fixed pOwner->owner
2011-10-07 10:54:53 -05:00
Bootz
f1ccb83dc0 REPO: Code-style change
* Fixed pUnit-unit
2011-10-07 10:48:56 -05:00
Machiavelli
1eb5bf1a65 Scripts/Ulduar/Flame Leviathan: Make both dummy effects apply on the same target, and boost range of spell Pursue to 50000yds to prevent boss reseting during the encounter. 2011-10-07 13:47:03 +02:00
sarjuuk
8306c8299e Core/Spells: Swift Flight Form speed is set to 310% if a coresponding mount is owned. 2011-10-06 18:21:24 +02:00
Shauren
fc9926a97e Scripts/Icecrown Citadel
* Properly remove glow aura during outro from Tirion
* Improved Wicked Spirit behaviour & visibility on heroic mode
* Removed gossip npcflag from Tirion after LK death
2011-10-06 17:57:28 +02:00
Shauren
0ef92d85b7 Scripts/Icecrown Citadel
* Fixed Mutated Abomination for Professor Putricide
* Tweaked a bit Bone Storm damage formula and fixed its damage (fix by Havenard)
2011-10-06 15:27:47 +02:00
Kaelima
2f5e10c1ba Merge pull request #3304 from DemiDroL/patch-1
Core/Script: Fix possible crash in achievement_defenseless.
2011-10-06 01:59:33 -07:00
Shauren
b3d2552937 Scripts/Icecrown Citadel
* Terenas Menethil should start at 50% health
* Fixed melee damage in The Lich King encounter
2011-10-06 00:54:15 +02:00
Shauren
60efe048a5 Removed more debug code 2011-10-05 21:27:30 +02:00
Shauren
bb5effa3b1 Oops, thats no longer valid 2011-10-05 20:55:09 +02:00
Shauren
2ff1c28c4c Scripts/Icecrown Citadel
* The Lich King
2011-10-05 20:48:34 +02:00
DemiDroL
832062589b Crashfix: GetInstanceScript() if target is NULL in achievement_defenseless 2011-10-02 22:53:57 +10:00
Discover-
bc030cc9ee Scripts/Dustallow: Fix quest Prisoners of the Grimtotems
Closes #2904
2011-10-02 02:03:16 +01:00
Nay
03a17b2461 Core/Scripts: Tallhorn Stag should melee attack, by Discover-.
Closes #2623
2011-10-01 19:15:49 +02:00
Lopin
62980da8df Scripts/Ulduar: Crashfix 2011-09-30 22:49:21 +02:00
unknown
8acf07dbab Random minor code cleanup 2011-09-29 22:35:00 +04:00
Spp
b16d2245bb Cosmetic: Multiple cosmetic changes
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces

Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
Spp
9e517c963b Cosmetic: Replace "* )" with "*)" and "* /*" with "* /*" 2011-09-29 09:32:55 +02:00
Machiavelli
d0ce7d2367 Scripts/Ulduar/Razorscale: Fix event starting 2011-09-28 11:49:28 +02:00
Spp
cc06c41887 Core: Move FormationMgr to namespace
Also...
- Warning fixes
- Make Singleton constructors private
2011-09-28 11:11:38 +02:00
Machiavelli
88d30aaa65 Merge pull request #3174 from Souler/pull
Scripts/Ulduar: Make Ignis enter evade mode if pulled out from his fight area.
2011-09-28 01:32:33 -07:00
Machiavelli
6d4a7b3930 Scripts/Ulduar/Flame Leviathan: Use GUID in script instead of pointer 2011-09-27 19:56:45 +02:00
Machiavelli
a7d0b62195 Scripts/Ulduar/Flame Leviathan: Properly cast spell Battering Ram. TODO: Fix spell immunity on target vehicles. 2011-09-27 19:41:56 +02:00
Souler
a51e2d3ff6 Remove XT-002 area check, already fixed by @MachiavelliTrinity in 9692be4cbb 2011-09-27 11:56:08 +03:00
QAston
a2633bf7fc Scripts: fix spell_generic_quest_update_entry script after e949ad3adb. 2011-09-27 00:12:45 +02:00
Machiavelli
c095cbb0ed Make recent added Spellscript conform to hook name changes in e949ad3adb 2011-09-26 22:00:12 +03:00
Machiavelli
7ec351a79d Scripts/Ulduar/Flame Leviathan: Fix Pursue spell (target selection/filtering, emote, and aggro), and clean up some atrocities in the script. 2011-09-26 20:47:51 +02:00
Shocker
6dc09248fd Merge pull request #3162 from megamage/master
Fix incorrect logic in PetAI. Solve #3155.
2011-09-26 06:44:33 -07:00
megamage
780747f5d3 Missing part of the previous commit. 2011-09-26 09:14:12 -04:00
megamage
a35deba186 Fix some crashes caused by spell scripts without checking unit type. Fix #3216 and #3217. 2011-09-26 09:03:33 -04:00
Shauren
062e645637 Scripts/Spells: Bloodlust/Heroism handling changed, it is now possible to use these spells even if caster is under Sated/Exhaustion debuff 2011-09-25 15:08:48 +02:00
QAston
e949ad3adb Core/Spells: spell effect handling improvements
* Call spell effect handlers in 4 modes:
   - SPELL_EFFECT_HANDLE_LAUNCH - called when spell is launched (cast just finished)
   - SPELL_EFFECT_HANDLE_LAUNCH_TARGET - called when spell is launched for each target in spell target map
   - SPELL_EFFECT_HANDLE_HIT - called when spell hits its destination
   - SPELL_EFFECT_HANDLE_HIT_TARGET - called when spell hits it's target from spell target map
*Correctly implement SPELL_EFFECT_TRIGGER_SPELL, SPELL_EFFECT_TRIGGER_SPELL_WITH_VALUE, SPELL_EFFECT_TRIGGER_MISSILE_SPELL_WITH_VALUE, SPELL_EFFECT_TRIGGER_MISSILE_SPELL
*Remove spell system hacks which became obsolete with this commit
Core/SpellScripts:
add OnEffectLaunch, OnEffectLaunchTarget, OnEffectHit, OnEffectHitTarget hooks for new effect handle modes and remove OnEffect hook.
A generic rule of thumb how to update your scripts (will work for nearly all cases) for spell system noobs:
if your spell script used GetHitXXXX function, you need to use OnEffectHitTarget, otherwise use
OnEffectHit
2011-09-25 13:29:50 +02:00
Machiavelli
911c7ce3cc Scripts/Ulduar/Flame Leviathan: Fix RX-214 Repair-o-matic station.
Note: Due to an aura system bug, the dummy cooldown aura is refreshed every time the trap spell is cast instead of expiring like it should.
2011-09-24 13:13:15 +02:00
Shauren
29ba648fa3 Scripts/Icecrown Citadel: Fixed possible crash in npc_darnavanAI
Closes #3188
2011-09-24 11:29:49 +02:00
Machiavelli
9692be4cbb Scripts/Ulduar/XT-002: Add gameobject handling for XT-002 door and boundary checking during the encounter. 2011-09-23 13:20:43 +02:00
Souler
99c63e86ae Scripts/Ulduar: Make XT-002 and Ignis enter evade mode if pulled out from their fight areas.
Also implement a default case for EnterEvadeIfOutOfCombatArea.
2011-09-22 22:14:52 +02:00
Machiavelli
9ea40a4746 Scripts/Ulduar/Kologarn:
- Fix arm respawn and reinstall events
- Fix possible erratic event timers
- Fix Focused Eyebeams after recent spell system changes
- Fix looting the chest after the encounter
2011-09-22 21:19:26 +02:00
Machiavelli
c909da08cd Scripts/Ulduar/XT-002: Fix erratic timer issues and stand/submerge spell script targets.
Fixes #2961
2011-09-22 20:13:40 +02:00
Rochet2
a0a22ecbc8 Scripts/Commands: Added .dev command to show <Dev> tag in nickname 2011-09-21 11:35:29 -03:00