aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
AgeCommit message (Collapse)Author
2010-06-05HIGHLY EXPERIMENTAL - USE AT YOUR OWN RISKclick
Implement the use of the new vmap3-format by Lynx3d (mad props to you for this, and thanks for the talks earlier) + reduced Vmap size to less than one third, and improve precision + indoor/outdoor check which allows automatic unmounting of players + additional area information from WMOAreaTable.dbc, removed existing "hacks" + WMO liquid information for swimming and fishing correctly in buildings/cities/caves/instances (lava and slime WILL hurt from now on!) - buildfiles for windows are not properly done, and will need to be sorted out NOTE: Do NOT annoy Lynx3d about this, any issues with this "port" is entirely our fault ! THIS REVISION IS CONSIDERED UNSTABLE AND CONTAINS WORK IN PROGRESS - USE AT YOUR OWN RISK! --HG-- branch : trunk
2010-06-04HIGHLY EXPERIMENTAL - USE AT YOUR OWN RISKRat
implemented Condition System all systems should work like before after applying the sql converter you won't be able to apply any Updatepacks (<=up30) so do updates before this this revesion is not threated as stable! --HG-- branch : trunk
2010-06-02*Fix: Only don't apply aura's with 0 sec duration (because of diminishing ↵Liberate
return for example) if the aura is not positive. --HG-- branch : trunk
2010-05-31Fix Spell::m_selfContainer not reset in destructor. This should fix crash in ↵Trazom62
Unit::FindCurrentSpellBySpellId. Fixes issue #2263. --HG-- branch : trunk
2010-05-30Cleaned up and unified various sort predicates and moved them to Trinity ↵Xanadu
namespace, replaced priority queues with sorts and purged some unused code. --HG-- branch : trunk
2010-05-26Fix a typo in my previous commit. thanks dr.tenma for pointing this out.Liberate
--HG-- branch : trunk
2010-05-26*Fix: Don't apply an aura when it's duration is 0. (for example because of ↵Liberate
diminishing returns) This should fix interrupts when casting fear, stun, etc, while the duration is 0. Fix based on havenard's patch. Fixes issue 1621 Fixes issue 2271 --HG-- branch : trunk
2010-05-23Fixed checks for Disarm Trap, thanks to Spp._manuel_
--HG-- branch : trunk
2010-05-23Removed tabs_manuel_
--HG-- branch : trunk
2010-05-23Disarm Trap now can be used in BattleGrounds and Arenas._manuel_
--HG-- branch : trunk
2010-05-21Fix Typo in previous commitSpp
Fixes issue 2295 --HG-- branch : trunk
2010-05-21Add additional castchecks for SPELL_EFFECT_LEAP_BACKclick
--HG-- branch : trunk
2010-05-10Add support for NPC-based start of playing moviesequence + clean up ↵click
indenting on earlier commit --HG-- branch : trunk
2010-05-10Another little fix on hunter Disengage - stop it from being usable when rootedclick
--HG-- branch : trunk
2010-05-09Fix hunters Disengage - disallow use when not in combat + use correct text ↵click
when attempting to use it out of combat Patch by mrDiver - fixes issue #568. --HG-- branch : trunk
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