Commit Graph

10363 Commits

Author SHA1 Message Date
Shauren
c8f71c00a1 Core/Scripts: Added ExecuteEvent BossAI hook designed to contain event code which would otherwise be in while (uint32 eventId = events.ExecuteEvent()) switch blocks. This allows to define a base class sharing spells with other scripts 2011-05-25 18:50:44 +02:00
Shauren
5f5af1e95d Core/Spells: Implemented SPELL_ATTR3_IGNORE_HIT_RESULT. Spells with this attribute will only be subject to own spell modifiers, ignoring enemy avoidance auras such as Cloak of Shadows or Deterrence 2011-05-25 18:31:10 +02:00
QAston
0eb89fc282 Core/SpellScripts: Better debug output on startup script validation. 2011-05-25 18:00:35 +02:00
QAston
a1b8fd2054 Core/AuraScripts: Add AfterEffectRemove and AfterEffectApply hooks, to allow safe triggering of spellcasts or other actions which may call linked events while OnEffectApply and OnEffectRemove are still there for overriding the way effect is handled on target. 2011-05-25 17:13:32 +02:00
click
6c4d2c8332 Scripts/Northrend: Remove now deprecated (remade with SmartAI) script for npc_inquisitor_hallard 2011-05-25 16:40:17 +02:00
Shauren
9cc7f25b9a Scripts: Removed CAST_PET and CAST_INST 2011-05-25 16:22:13 +02:00
Shauren
64adce7b8b Scripts: Removed CAST_SUM define 2011-05-25 15:55:14 +02:00
Shocker
0ea721e25a Core/Players: Allow GMs to have their player flags correctly loaded from DB 2011-05-25 16:35:35 +03:00
tobmaps
0b557f02b2 Core/Spells: Fix warrior stances save after death/logout 2011-05-25 20:29:06 +07:00
QAston
ca8eb707d7 Core/Auras:
- Use safer order of calls in AuraEffect handlers (unit modification goes before any calls which may result in linked events execution)
 - Allow manual removal of further effects of an aura during aura removal (so Unit::RemoveAurasByType works well in such situations)
2011-05-25 15:13:55 +02:00
tobmaps
209b5313ff Core/Dungeon Finder: Fix required votes to kick 2011-05-25 20:00:22 +07:00
Aokromes
6acd954bf5 Core/Misc: Some random cleanups 2011-05-25 19:54:17 +07:00
johnholiver
d25ba34342 Core/Spells: Fixed random Unholy Blight DoT damage ticks
Tnx Arcane
2011-05-24 19:34:53 -03:00
Shauren
cb608283b2 Core/WaypointMgr: Fixed crashes when loading data with waypoint_data.id=0 and fixed memory leaks in .wp reload command 2011-05-24 23:13:47 +02:00
Shauren
d9390bdd09 Scripts/Icecrown Citadel: Restored Sindragosa check for previously killed bosses (re-enabled Valithria Dreamwalker requirement) and fixed Valithria Dreamwalker encounter ending multiple times 2011-05-24 22:00:04 +02:00
Machiavelli
08ecee3b13 Core/DBLayer: Fix transaction crash. 2011-05-24 18:27:27 +02:00
kaelima
a44e97ab74 Core/Spells: Fix spell 52588 (Skeletal Gryphon Escape) used in quest 12701 (Massacre At Light's Point).
It should now target the player instead of the cannon.
2011-05-24 05:20:57 +02:00
Shauren
171065fc4b Scripts/Spells: Fixed crash in Druid T10 4P Restoration set bonus
Closes #1399
Closes #1507
2011-05-23 23:43:05 +02:00
Machiavelli
7f96d4b01f Fix crash added in 402198 2011-05-23 19:14:39 +02:00
Shauren
023595e644 Compile fix 2011-05-23 17:54:23 +02:00
Shauren
1542ff7722 Scripts/Icecrown Citadel: Fixed typo in Sindragosa spawning condition 2011-05-23 17:53:46 +02:00
Machiavelli
402198c5ff Core/DBLayer: Proper core-side handling of MySQL errno 1213 to prevent a snowballeffect (until innodb_lock_wait_timeout) 2011-05-23 16:33:33 +02:00
Shauren
f7ce41c4af Core/Spells: Fixed Anti-Magic Zone visual 2011-05-23 12:35:23 +02:00
tobmaps
5cab20c80a Core/Spells: Fix animation for Haunt talent
Closes #1643
2011-05-23 16:46:42 +07:00
Silinoron
4c1f56a2b3 Some cleanup in the first half of Spell.cpp. 2011-05-22 16:01:53 -07:00
click
59f48c9bec Core: Clean up a lot of whitespace, and at the same time fix non-PCH building (again) 2011-05-22 17:27:56 +02:00
tobmaps
0dd349f52a Core/Players: Fix exploit with XP gain from kills done by vehicles 2011-05-22 19:50:55 +07:00
Machiavelli
48838cca27 Fix build on Linux 2011-05-22 13:49:39 +02:00
Machiavelli
29e61ad0ea Core/DBLayer: Remove a problematic and unneeded transaction in _LoadMails 2011-05-22 13:43:57 +02:00
Nay
8f9e3a7a86 Scripts/Zul'aman: Fix Zul'jin weapon display
Closes #1613
2011-05-22 11:46:27 +01:00
tobmaps
4b1464dc41 Core/Spells: Fix problem with stackable spells after last commit 2011-05-22 06:12:25 +07:00
Shauren
78ea0075e1 Core/Spells: Allow overriding aura stack amount from CastCustomSpell 2011-05-21 21:36:37 +02:00
tobmaps
1e783cc446 Core/Spells: Fix a bug when you can't use Ice Block under Forbearance effect 2011-05-22 01:28:27 +07:00
Shauren
9368ef8a5c Scripts/Icecrown Citadel: Added text and sound for Deathbound Wards 2011-05-21 18:35:55 +02:00
Shauren
84ab669119 Scripts/Icecrown Citadel: Fixed Deathbound wards & their trap linking 2011-05-21 18:25:12 +02:00
Shauren
a82a5c51dc Scripts/Icecrown Citadel: Summons during Valithria Dreamwalker encounter should enter combat when spawning 2011-05-21 16:32:34 +02:00
Machiavelli
d454ee2a74 Core/DBLayer: Apparantly the possible deadlock was present in Player::DeleteFromDB as well.
Thanks to Aokromes for pointing out
2011-05-21 14:50:28 +02:00
Lopin
18c016a890 Scripts/Ulduar:
* Added script for Freya encounter
* Cleaned up instance script
* Cleaned up teleporter script
* Fixed typo in Hodir script

Signed-off-by: Lopin <Lopin@TwinStar.cz>
2011-05-21 14:36:29 +02:00
Machiavelli
59c0670f44 Core/DBLayer: Fix possible transaction deadlock in HandleMailReturnToSender opcode 2011-05-21 14:24:46 +02:00
Shauren
c3778487f0 Core/Spells: Fixed totem summoning behavior (summoning new totem while old is still active will not prevent new one from spawning) and fixed totem cooldowns
Closes #1609
Closes #1615
2011-05-21 10:58:32 +02:00
tobmaps
d5cf8a6f5a Core/Spells: Drop some dead code 2011-05-21 03:51:41 +07:00
Shauren
0ab5cdef2e Scripts/Icecrown Citadel:
* Added Valithria Dreamwalker script
* Fixed Mutated Abomination on heroic mode at Professor Putricide
* Fixed saving heroic attempts to db
2011-05-20 22:20:11 +02:00
Shauren
5303238744 Core/Auras: Fixed infinite mana stacking exploit 2011-05-20 17:11:53 +02:00
tobmaps
db5ff45e81 Core/Spells: Fix exploit with Improved Shadowform (Rank 1) 2011-05-20 19:28:14 +07:00
Shauren
ac4ed1efdf Core/Spells: Moved setting UNIT_CREATED_BY_SPELL out of spell effect handlers and sending SMSG_TOTEM_CREATED into Totem class 2011-05-19 22:27:18 +02:00
tobmaps
f03bdceaff Core/Spells: Properly fix Arcane Surge bug 2011-05-20 03:16:48 +07:00
tobmaps
e2310fe541 Core/Spells: Fix a bug with proc of Arcane Surge when it shouldn't 2011-05-20 02:59:02 +07:00
Shauren
49a81557fa Core/Units: Fixed totem timer UI
Closes #298
Closes #1595
2011-05-19 18:50:57 +02:00
Shauren
69376d0e1c Core/Units: Removed calculating complete mechanic mask when checking if unit has aura with such mechanic, instead return result immediately (immunities don't need to be checked, unit won't have such aura if immune) 2011-05-19 17:46:36 +02:00
tobmaps
a8c784b50c Core/Spells: Properly fix talent Torment the Weak 2011-05-19 22:01:01 +07:00