Spp
380db44583
Core/Utilities: Use generic templates with AddPct, ApplyPct and CalculatePct
2012-10-02 12:17:42 +02:00
Faq
1fa0177bb0
Core/Spells - Idol of the Crying Wind;
...
+ Fixing typo;
2012-07-13 18:42:28 +03:00
Faq
3308809066
Correcting Black Ice bonus dmg for Scourge strike shadow part. Thnx Tibbi & Shauren
2012-06-30 21:27:09 +03:00
Shauren
e0997874f5
Core/SpellScripts: Changed OnUnitTargetSelect hook to OnObjectAreaTargetSelect, it will now work with WorldObject instead of only Units and call it even for empty target lists
2012-06-29 21:53:35 +02:00
Kandera
6e4da3367a
Core/Spells: fix build and typo from previous commit
2012-06-29 13:45:14 -04:00
Elron103
8ba234e245
Scripts/Spells: Fix Deathknight ability Death Pact 48743
2012-06-29 18:45:18 +02:00
Faq
6bd8a01aa5
...
2012-06-15 17:21:34 +03:00
Faq
67a0e54bb9
Correct the amount of dmg absorbed by Anti-magic shell.tibbi
2012-06-15 01:29:52 +03:00
Faq
ac74853415
Adding enums
2012-06-15 01:21:02 +03:00
Faq
d77a8568b7
Fixing Death Knight T8 Melee 4P Bonus (darkruned set). tibbi
2012-06-14 22:36:56 +03:00
QAston
e53b44b6ba
Merge pull request #6491
...
Core/Spells: convert some spell effects to SpellScripts
Closes #6491
2012-06-14 19:12:03 +02:00
Kandera
69bf716c1b
Core/Spells: set default multiplier for scourge strike bonus damage to 1.
2012-06-08 11:01:27 -04:00
Kandera
6107e48f8b
Core/Spells: fix scourge strike extra damage. thanks to tibbi
2012-06-08 10:08:02 -04:00
joschiwald
7e454b26ac
more updates
2012-06-03 02:35:00 +02:00
joschiwald
cd7ab6f3a5
Merge branch 'master' of github.com:joschiwald/TrinityCore into spellscripts
...
Conflicts:
src/server/game/Entities/Unit/Unit.cpp
src/server/game/Spells/Auras/SpellAuraEffects.cpp
src/server/game/Spells/Spell.cpp
src/server/game/Spells/SpellEffects.cpp
src/server/scripts/Spells/spell_paladin.cpp
2012-05-28 04:27:51 +02:00
joschiwald
ca07f30d03
Core/Spells: convert some spell effects to SpellScripts
2012-05-28 04:07:51 +02:00
Kandera
edf1de6d93
Core/Spells: move rocket boots spell cast check to spell script. add event for checkcast for deathcoil (dk) heh i forgot it >.<
2012-05-18 11:56:23 -04:00
Kandera
7688c7609f
Core/Spells: remove holy shock and death coil (dk) from checkcast and add them to the checkcast of the spell script. also check if unit is in front for damage spell of death coil (dk) Closes #6027
2012-05-18 11:44:38 -04:00
QAston
b899f5fc94
Core/SpellScripts: rename GetTarget*() functions to GetExplTarget*(), so the names reflect better what those functions do. Also update some comments.
2012-04-28 14:55:14 +02:00
Gyx
e050945c91
Core/Script: Code style and remove unused core.
...
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-28 11:13:37 +08:00
kandera
8e96b86715
Correct codestyle from previous commit
2012-03-23 13:11:32 -03:00
Kandera
af48083d86
Core/Spells: Fix improved unholy presence removal.
2012-03-23 09:54:34 -04:00
Kandera
01c997c60f
Core/Spells: Fix death coil damage bonus from sigil of the vengeful heart
2012-03-23 08:27:27 -04:00
click
45946e23ba
Core: Adjust parameter output values to avoid excessive warning outputs on GCC and some other minor warnings
2012-03-04 21:38:57 +01:00
QAston
a08fe16d69
Core/Spells: Allow spell effects to have multiple destinations. Spells like: 49814, 10869 and similar are now properly selecting destination targets.
2012-03-03 00:19:48 +01:00
Spp
d38bc3a178
Core: Rename GetCreatureInfo to GetCreatureTemplate and minor cleanup here and there
2012-02-27 14:58:47 +01:00
Spp
1e246cb66c
Fix build (gcc) and fix warnings
2012-02-22 09:15:57 +01:00
click
dce3bc01ac
Core: Fix non-PCH building
2012-02-19 16:57:07 +01:00
click
5411e1ce52
Core: Clean up whitespace and tabs in the base sourcetree
2012-02-18 16:52:08 +01:00
Kandera
c517806a23
Scripts/Spells: Convert code from Spell::EffectDummy to spell scripts.
2012-02-18 12:12:49 +01:00
QAston
5365bd25fa
Core/Spells: remove some workarounds about transform spells in corpse explosion script.
2012-02-09 23:27:59 +01:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
Spp
9e517c963b
Cosmetic: Replace "* )" with "*)" and "* /*" with "* /*"
2011-09-29 09:32:55 +02:00
Shocker
6dc09248fd
Merge pull request #3162 from megamage/master
...
Fix incorrect logic in PetAI. Solve #3155 .
2011-09-26 06:44:33 -07:00
megamage
780747f5d3
Missing part of the previous commit.
2011-09-26 09:14:12 -04:00
megamage
a35deba186
Fix some crashes caused by spell scripts without checking unit type. Fix #3216 and #3217 .
2011-09-26 09:03:33 -04:00
QAston
e949ad3adb
Core/Spells: spell effect handling improvements
...
* Call spell effect handlers in 4 modes:
- SPELL_EFFECT_HANDLE_LAUNCH - called when spell is launched (cast just finished)
- SPELL_EFFECT_HANDLE_LAUNCH_TARGET - called when spell is launched for each target in spell target map
- SPELL_EFFECT_HANDLE_HIT - called when spell hits its destination
- SPELL_EFFECT_HANDLE_HIT_TARGET - called when spell hits it's target from spell target map
*Correctly implement SPELL_EFFECT_TRIGGER_SPELL, SPELL_EFFECT_TRIGGER_SPELL_WITH_VALUE, SPELL_EFFECT_TRIGGER_MISSILE_SPELL_WITH_VALUE, SPELL_EFFECT_TRIGGER_MISSILE_SPELL
*Remove spell system hacks which became obsolete with this commit
Core/SpellScripts:
add OnEffectLaunch, OnEffectLaunchTarget, OnEffectHit, OnEffectHitTarget hooks for new effect handle modes and remove OnEffect hook.
A generic rule of thumb how to update your scripts (will work for nearly all cases) for spell system noobs:
if your spell script used GetHitXXXX function, you need to use OnEffectHitTarget, otherwise use
OnEffectHit
2011-09-25 13:29:50 +02:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
QAston
a077a26aa5
Core/Spells: update the core to the changes from 1fb1988d46 . To make your custom code work with those changes simply lookup the value of Targets enum value from prev rev, and update the name in your code.
2011-08-16 19:44:18 +02:00
QAston
b0fe236265
Core: Use new SpellInfo class in core. Sadly, this commit is not compatibile with some of the custom code. To make your code work again you may need to change:
...
*SpellEntry is now SpellInfo
*GetSpellProto is now GetSpellInfo
*SpellEntry::Effect*[effIndex] is now avalible under SpellInfo.Effects[effIndex].*
*sSpellStore.LookupEntry is no longer valid, use sSpellMgr->GetSpellInfo()
*SpellFunctions from SpellMgr.h like DoSpellStuff(spellId) are now: spellInfo->DoStuff()
*SpellMgr::CalculateEffectValue and similar functions are now avalible in SpellEffectInfo class.
*GET_SPELL macro is removed, code which used it is moved to SpellMgr::LoadDbcDataCorrections
*code which affected dbc data in SpellMgr::LoadSpellCustomAttr is now moved to LoadDbcDataCorrections
2011-07-26 23:09:28 +02:00
tobmaps
f7737f5660
Core/Spells: Moved part of improved presences code to spell scripts
2011-07-16 00:46:58 +07:00
L30m4nc3r
52afb27efa
Core/Misc: Fix typo in Corpse Explosion code
...
Closes #2310
2011-07-15 18:45:42 +07:00
click
158966dc79
Core: Codestyle cleanup
2011-06-11 22:35:29 +02:00
tobmaps
0faeb45932
Core/Spells: Cleanup code for Summon Gargoyle
2011-05-28 18:49:21 +07:00
DrTenma
0dedf84bd9
Core/Spells: Fix runic power gain from Blood Boil
...
Closes #1718
2011-05-28 03:12:41 +07:00
johnholiver
4b4aba176d
Core/Spell: Fix DK spell Corpse Explosion.
...
Thanks tehmarto.
Closes #1254 .
2011-05-06 22:08:43 -03:00
Ramus
1ab06e8f93
Scripts/Spells: Fixed Death Knight Spell Deflection
2011-03-19 12:53:17 +01:00
Shauren
36f848a4c2
Scripts/Icecrown Citadel: Only one Mutated Abomination can exist during Professor Putricide encounter
...
Scripts/Spells: Added blizzlike error messages for certain spells
Scripts/Items: Removed obsolete scripts
2011-03-04 23:53:11 +01:00
leak
137b079eea
Core: Generic cleanup (tab2spaces/trailing whitespace removal)
2011-01-26 01:03:35 +01:00