Commit Graph

2893 Commits

Author SHA1 Message Date
Shauren
00f6164a68 Core/OutdoorPvP: Pass GossipMenuItems to CanTalkTo hook by reference 2011-05-26 23:33:05 +02:00
Shauren
a644206f88 Scripts: Removed SEND_VENDORLIST and SEND_TRAINERLIST defines 2011-05-26 23:31:46 +02:00
Shauren
7abb302d8f Core/Conditions: Prevent unneccessary copying condition list on every check 2011-05-26 23:27:43 +02:00
Shauren
0f7b73c141 Compile fixes 2011-05-26 23:12:53 +02:00
Shauren
bafa57618c Core/Spells: Documented 2 spell attributes 2011-05-26 22:11:44 +02:00
QAston
fb1772e8c9 Core/AuraScripts: Allow to use AuraScript::GetTarget in AfterEffectRemove and AfterEffectApply hooks. 2011-05-26 17:44:07 +02:00
QAston
0762791754 Core/AuraScripts: Fix runtime error messages appearing in aura scripts when one hook is called from inside of another one. 2011-05-26 16:12:33 +02:00
Shauren
824e0356a8 Scripts/Icecrown Citadel: Fixed gossip text on teleporters 2011-05-26 10:49:30 +02:00
kaelima
fc84253f7d Core/Spells: Typo from last commit, should of course only remove negative effects. 2011-05-26 03:46:33 +02:00
kaelima
60585941f6 Core/Spells: Fix Glyph of Icy Veins haste debuff removal. 2011-05-26 03:43:07 +02:00
Shauren
51e7b92487 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2011-05-25 23:39:51 +02:00
Shauren
3d8e4300b7 Core/Achievements: Achievement criteria type 39 should check player's personal rating, not team rating
Closes #803
2011-05-25 23:39:17 +02:00
tobmaps
3405f1672c Core/Spells: Drop unnecessary code 2011-05-26 03:16:03 +07:00
QAston
79aa5233d7 Scripts/AuraScripts: Use AfterEffectApply and AfterEffectRemove hooks in scripts, where they fit better than On* hooks. 2011-05-25 19:12:41 +02:00
Shauren
b378c146dc Scripts/Spells: Moved stack change checks for spell_gen_turkey_marker into new AfterEffectApply hook 2011-05-25 18:54:25 +02:00
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