Commit Graph

11156 Commits

Author SHA1 Message Date
QAston
751cbaf307 Core/Spells: Fix a typo (!GetDst() instead of !HasDst()) which prevented from automatical lconverion of spell unit target to destination target (this is only used in script casts). Closes #2761. 2011-08-26 16:30:56 +02:00
QAston
79427354aa Fix build. Damn. 2011-08-26 15:40:11 +02:00
QAston
265c909666 Core/Spells: small correction to e2d592f380, don't interrupt passive auras. 2011-08-26 14:43:19 +02:00
QAston
e2d592f380 Core/Spells: Interrupt periodic trigger auras when triggered spells fails to cast. Closes #2598 2011-08-26 14:23:23 +02:00
QAston
2ee88d76da Core/Spells: remove one obsolete spell proc target check. 2011-08-26 12:48:12 +02:00
QAston
8e392440cf Core/Spells: Fix a regression of 7f30ac5a95 - spells with TARGET_SELECT_CATEGORY_CHANNEL target type (like mind sear) should be triggered by triggering spell caster 2011-08-26 12:39:50 +02:00
QAston
5c48d9ec8a Core/Spells: Store explicit unit, corpse and GO targets in one variable, because both client and server can't handle more than one explicit object target; Add spell explicit target validation. 2011-08-26 12:06:13 +02:00
Spp-
e41774750f Core/Spell: Partial revert of 85164d2 (Move icc spell back to original line to keep icc spells grouped) 2011-08-26 10:29:23 +02:00
Havenard
7fe89b9674 Scripts/Icecrown Citadel: Fixed crash caused by recent changes in spellsystem
Closes #2760
2011-08-26 10:27:40 +02:00
Spp-
45c0fd2d37 Core/Handlers: Set LFG_GET_STATUS session status to unhandled (Kills log flood) 2011-08-26 09:43:29 +02:00
Spp-
85164d2876 Core: Some cosmetic changes and minor optimizations 2011-08-26 09:41:33 +02:00
QAston
dfa179b427 Scripts/Achievement: fix a typo. 2011-08-25 13:16:09 +02:00
QAston
5ebb4ba4c1 Core/Packets: Update opcodes enum - research by TOM_RUS, also remove some useless/obsolete comments from opcodes.h 2011-08-25 12:48:51 +02:00
Lopin
cc8609950a Core/Misc, Killed some engrish 2011-08-25 10:24:44 +02:00
Spp
f997f9d3c4 Core/Spells: Fixed typo in Parasitic Shadowfiend Passive 2011-08-25 10:21:19 +02:00
Lopin
8ce77c7d83 Core/Logs: Fixed a crash 2011-08-25 10:12:32 +02:00
QAston
c0f3122b9c Fix build after revert. 2011-08-25 08:01:56 +02:00
QAston
188fdb3e4c Core/Spells: Allow spells with TARGET_FLAG_CORPSE to target players which didn't hit release button yet. 2011-08-25 06:51:57 +02:00
QAston
62d913bb35 Revert "Core/Spells: Also Death Runes itself should be able to turn into a Death Rune. They should not turn back into their original rune when using a spell that turns the used runes into Death Runes." - it is causing crashes.
This reverts commit 17b89ea8ab.
2011-08-25 06:40:56 +02:00
Lopin
f72cff430d Core/Achievements: Added also check for player's team. Only defenders should get this achievement 2011-08-24 22:56:36 +02:00
Lopin
35b8425656 Core/Achievements: Added missing AchievementCriteriaScript. Thanks Spp for pointing it out 2011-08-24 22:42:57 +02:00
Lopin
6758056dda Core/Achievements: Fixed Defense of the Ancients in SotA 2011-08-24 21:53:00 +02:00
QAston
fd500ba257 Fix build after last pull request merge. 2011-08-24 19:36:20 +02:00
QAston
7ae8f15985 Merge pull request #2582 from hacknowledge/fix_2531
Core/Spells Disables environmental damage to players which are not attackable by AOE damage
2011-08-24 10:03:10 -07:00
QAston
b69330676d Merge pull request #2588 from hacknowledge/fix_2488
Crashfix. Added missing check for NULL of victim parameter
2011-08-24 10:02:26 -07:00
QAston
7a3b1f1ed5 Core/Spells: Make GMs and vehicle riders not attackable by AOE again. 2011-08-24 18:22:33 +02:00
Lopin
87d3cb6a10 Core/Logs: Fixed a typo in one log. Thanks RA3OR for notice 2011-08-24 17:01:50 +02:00
Lopin
8ae290c6d1 Core/Spells: Fixed quest Salvaging Life's Strength 2011-08-24 16:45:49 +02:00
Lopin
ededca3311 Core/Spells: Fixed quest Stopping the Spread 2011-08-24 15:57:14 +02:00
Lopin
0c410bda43 Core/Logs: Added some more log informations to certain logs 2011-08-24 13:37:05 +02:00
QAston
5cd4f9e513 Core/Spells: fix TARGET_DEST_TARGET_* targets after 7f30ac5a95 2011-08-24 10:35:41 +02:00
QAston
1178cee836 Core/Spells: Small correction to: 7f30ac5a95 - TARGET_DEST_TRAJ targets should require both src and dst target provided. 2011-08-24 08:53:26 +02:00
QAston
7f30ac5a95 Core/Spells: Add a generic way of selecting spell explicit targets. Make explicit targets independant of calling convention in core - this makes targets sent to client to be much more blizzlike than before (for example CastSpell(Unit*) won't set TARGET_FLAG_UNIT for spells which are not using explicit unit target) for SMSG_SPELL_START packets. Also remove hacks, which became obsolete with this commit. 2011-08-24 08:08:33 +02:00
QAston
9f7a557c05 Merge pull request #2721 from Chaplain/cleanup
Core: Clean up here and there.
2011-08-23 21:01:54 -07:00
QAston
5819cb084f Merge pull request #2715 from elecyb/diminish
Core/Spells: Fix duration of some spells in PvP
2011-08-23 21:01:35 -07:00
Cron
923d5761ce Core/Spells: Fixed Survival of the Fittest armor increase bonus while in Dire Bear or Bear form. Closes #2724 2011-08-24 00:44:50 -03:00
Chaplain
fb27848510 Core: Clean up here and there.
*replase postfix iterator increment\decrement with prefix in cycles
*replase strlen(*char) != 0 with *char[0] != '\0'
*replase strlen(rStr.c_str()) with rStr.length()
2011-08-23 18:09:08 +03:00
QAston
0365feb069 Core/Entities: Make dead units not targetable for attack again (after fc5e924138). 2011-08-23 14:47:26 +02:00
QAston
e7468b2e2c Core/Spells: Do not apply spellmods to spells with SPELL_ATTR3_NO_DONE_BONUS attribute. 2011-08-23 14:30:26 +02:00
Shauren
730f3cd7e9 Core/Weather: Added one more weather state 2011-08-23 14:23:27 +02:00
Lopin
b92d6f3d20 Core/Commands: Added TrinityString instead of hardcoded string 2011-08-22 12:07:27 +02:00
Lopin
6e79510bc5 Core/Commands: Added output to .baninfo character <name> even when character has never been banned. Closes #2699 2011-08-22 11:22:26 +02:00
Shauren
cb9985c054 Core/Spells: Check SPELL_AURA_PREVENT_RESSURECTION on targets for resurrection spells 2011-08-21 19:03:24 +02:00
click
d5fbd223c6 Core: Fix non-PCH build 2011-08-21 17:07:32 +02:00
Shauren
7cea5a1f5b Core/SpellMgr: Corrected indentation in SpellMgr::LoadDbcDataCorrections 2011-08-21 15:01:40 +02:00
Shauren
ce27105a68 Core/Spells: Also prevent using self-resurrection spells like Reincarnation when under effect of SPELL_AURA_PREVENT_RESSURECTION 2011-08-21 14:38:21 +02:00
QAston
738214f8e5 Core/Spells: add some const modifiers to functions, fixes build. 2011-08-21 13:57:15 +02:00
QAston
c453d78b07 Core/Spells: Fix mind controll after recent target requirement changes. 2011-08-21 13:01:37 +02:00
Shauren
5f6c6d3925 Core/Auras: Implemented SPELL_AURA_PREVENT_RESSURECTION 2011-08-21 12:42:22 +02:00
QAston
3476767eb0 Fix warnings from merged pull requests. 2011-08-21 11:59:06 +02:00