aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
AgeCommit message (Collapse)Author
2010-04-29Fix FoS/Bronjham script.Trazom62
Fixes issue #1895. - summon corrupted soul fragment when Corrupt Soul completes. - update corrupted soul fragment script. - remove Heroic spell definition. They are defined in SpellDifficulty.dbc. --HG-- branch : trunk
2010-04-27Implement support of Timed Achievement. Thanks Shauren.Trazom62
Fixes issue #1431. --HG-- branch : trunk
2010-04-25Fix channelled spells when player has lot of haste AND a buff reducing spell ↵Trazom62
duration. Thanks dr.tenma. Fixes issue #1052. --HG-- branch : trunk
2010-04-20Remove caster from always being part of casters targetlist during spellcasts ↵click
- thanks to QAston for pointing out that it's useless! :) --HG-- branch : trunk
2010-04-19More warning removal (Some code modifications and cleanup when needed)Spp
--HG-- branch : trunk
2010-04-19Remove LOTS of compile warningsSpp
--HG-- branch : trunk
2010-04-18Move around and do some changes to homebinding, thanks to Vladimirclick
* Adds support for spelltarget-positions * Uses areaname instead of zonename on hearthstone Add homebind animation to player, with cast from innkeeper --HG-- branch : trunk
2010-04-11* Fix: Deathknights 'Death Grip'click
Fixes issue #148 Fixes issue #1223 Patch by tbaart (partial commit - Dancing Rune Weapon still needs testing) --HG-- branch : trunk
2010-04-11Fix GCD in case of cast interrupt.Trazom62
Fixes issue #1587. --HG-- branch : trunk
2010-04-11Final fix basepoints calculation, thx to Vladimir, Laise.n0n4m3
--HG-- branch : trunk
2010-04-11Fix mail, professions, group loot, console spam, and some fixes. Big thx to ↵n0n4m3
TOM_RUS. --HG-- branch : trunk
2010-04-10*modified spelldifficulty handler to work with all spell casts for creatures ↵Rat
that are in instances thanks to Shauren for help *modified most of the scripts to use normal_mode spell for casting (code was autogenerated, post errors if any) *added sql for all modded spells (autogenerated..) --HG-- branch : trunk
2010-04-09Implement Global Cooldown (originaly written for TC2 v2.4.3).Trazom62
Thanks eugen.rivniy for the port. Fixes issue #67. --HG-- branch : trunk
2010-04-08Code Style (game + scripts only):Spp
"!=" --> " != " (when needed) " !=" --> " !=" "!= " --> "!= " --HG-- branch : trunk
2010-04-07Code Style (game + scripts only):Spp
"==" --> " == " (when needed) --HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"( " --> "(" " )" --> ")" --HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"if(" --> "if (" --HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"while(" --> "while (" --HG-- branch : trunk
2010-04-07Code style (game + scripts only):Spp
"for(" --> "for (" --HG-- branch : trunk
2010-04-07Code Style: Remove trailing spacesSpp
--HG-- branch : trunk
2010-04-07Code Style: tab to spacesSpp
--HG-- branch : trunk
2010-04-05Fix wrong condition in previous commit, sorry for thatthenecromancer
--HG-- branch : trunk
2010-04-05Use unit target by default (script targets will send self flag usualy)thenecromancer
Fixes quite some new issues like #1466 --HG-- branch : trunk
2010-04-03Fix issue #1437, don't remove passive auras if they're triggering spell that ↵thenecromancer
fails for whatever reason --HG-- branch : trunk
2010-03-30Fix Skinning where there is no loot on creature.Trazom62
Fixes issue #1174. --HG-- branch : trunk
2010-03-29* Remove an old dumb hack.XTZGZoReX
--HG-- branch : trunk
2010-03-26A visually better way to handle Avenger Wrath blocking of immunity shields.Xanadu
--HG-- branch : trunk
2010-03-25Fixed Forbearance. Also self-cast LoH will now correctly prevent Avenging ↵Xanadu
Wrath for 30 s. Closes issue #1270. Thanks to _manuel_ for research. --HG-- branch : trunk
2010-03-21Fix mounts in Arena's/BGsMachiavelli
--HG-- branch : trunk
2010-03-21Securer check for instance template for previous commitMachiavelli
--HG-- branch : trunk
2010-03-21Add support field 'allowMount' to instance_template table (see ↵Machiavelli
http://trinitydatabase.org/index.php?/topic/14994-7656-instance-template/), this will define whether or not mounting is allowed in an instance, instead of defining it hard coded in the core. --HG-- branch : trunk
2010-03-19Fixed broken missile visuals in certain DST and SRC type spells (Void ↵Xanadu
Reaver's Arcane Orb and many others). Achieved by fixing wildly incorrect SMSG_SPELL_GO target mask data handling. --HG-- branch : trunk
2010-03-18Added unit targets for TARGET_TYPE_DEST_TARGET and TARGET_TYPE_DEST_CASTER ↵Xanadu
to tackle the cases where unit targets are required but there is no other implicit target to produce them (like in 53, 0 combination). This works in conjunction with my next commit. --HG-- branch : trunk
2010-03-15Remove Hack detecting spell 61988 in HasAura()thenecromancer
Correctly cast 61988/61987 after casting Avenging Wrath/Divine Shield respectively (This will correctly show both spells disabled state) Don't allow casting Lay on Hands on self when aura 61988 is present (ie. after using Avenging Wrath) --HG-- branch : trunk
2010-03-11Convert some C style casts to new functionsthenecromancer
--HG-- branch : trunk
2010-03-09Fix enchant items in trade window.Spp
Original patch by Kierkegaard closes issue #985 --HG-- branch : trunk
2010-03-09Rename 'Hostil' to 'Hostile'Spp
Credits to NoFantasy (Mangos) Closes issue #411 --HG-- branch : trunk
2010-03-07Some Creature* casts moved to new ToCreature.raczman
Added const Creature* ToCreature() --HG-- branch : trunk
2010-03-07Added new type-safe cast functions.raczman
This, when properly used, should get rid of most memory corruption issues, currently, casting types C-style with no checks leads to some abstract crashing. Functionality is same as with dynamic_cast<>, but with no RTTI check - so when casting into invalid type you will receive NULL, and most probably crash. At the same time, i took the liberty to convert most Player* casts to ToPlayer(). Still needs crapload of casts being moved to new facility. --HG-- branch : trunk
2010-03-07Remove 94567c94e6, instead don't check range/facing when finishing instant ↵thenecromancer
cast spells --HG-- branch : trunk
2010-03-02If stealth-only spell fails, shouldn't remove you from stealth. Fix by ↵p0wer
lol584. Closes issue #99. --HG-- branch : trunk
2010-02-27refactor UnitAI::SelectTarget to allow having a predicate function (1st step).Trazom62
--HG-- branch : trunk
2010-02-22*Remove no longer needed hack after trigger target fixes.QAston
--HG-- branch : trunk
2010-02-20*CRLF:(QAston
--HG-- branch : trunk
2010-02-20*Move summon water elemental handler to correct place.QAston
--HG-- branch : trunk
2010-02-20Don't take away runes when not hittingthenecromancer
--HG-- branch : trunk
2010-02-18Treat rune cooldowns as timers and not as remaining tick countsthenecromancer
Implement support for modifiers changing rune regeneration rate Apply all spells from Improved Unholy Aura --HG-- branch : trunk
2010-02-17Compile fix.raczman
Whoever pushed that, *PLEASE* do a test compile before pushing. --HG-- branch : trunk
2010-02-16* Removed hack for summon water elementalBrian
* Proper handling for Glyph of Eternal Water * Summoned water elemental still doesn't last forever, but the right spells * are cast in the right situations. * Credits to Edrinn --HG-- branch : trunk
2010-02-15*Backout some WTF fixes. Do things correctly, or do not touch them at all...QAston
*Really fix windows build. --HG-- branch : trunk