Commit Graph

318 Commits

Author SHA1 Message Date
joschiwald
7e454b26ac more updates 2012-06-03 02:35:00 +02:00
joschiwald
1bfd6605af fix compile 2012-05-28 04:29:59 +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
624a5629b9 Merge pull request #6040 from w1sht0l1v3/borean_tundra
Core/DB: Quest The Emissary
2012-05-24 07:31:10 -07:00
Nay
e56b2cdd59 Core: Fix a few compile warnings 2012-05-20 17:58:35 +01:00
4m1g0
524e30e57b Scripts/kalimdor: Use proper headers to optimize compile, code style and general cleanup.
Closes #6419 (pr)
2012-05-19 15:11:09 +01: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
kandera
63010fe77b Core/Spells: calculate damagebonustaken for target before adding the damage left from the previous aura. thx @zwerg 2012-05-17 14:04:57 -03:00
Kandera
c6aa41cc10 Core/Spells: Revert previous commit. add exception for deep wounds in pct done aura modifiers. clean up heal bonus code to use the correct numerical types. 2012-05-17 10:41:21 -04:00
Kandera
619fdd185b Core/Spells: fix deep wounds damage. thanks warpten. 2012-05-17 09:40:44 -04:00
Malcrom
5709929d2b Core/Threat: Fix by faq.
Turning gm on, now drops threat.
Dead mobs no longer holds threat on player.
Also fixed some Engrish.
2012-05-13 11:33:42 -02:30
joschiwald
4e354d6ca9 Core/Spells: fix damage mods from caster on target 2012-05-11 22:43:06 +02:00
Discover-
5057a8156d Scripts/Quests: Fix compile from 0ecd9e72d0 - sorry guys.
Thanks @Vincent-Michael.
2012-05-10 13:52:22 +02:00
Discover-
0ecd9e72d0 Scripts/Quests: Script quest Leave Nothing to Chance.
Closes #1863
Closes #3087
Closes #2061
2012-05-10 13:43:40 +02:00
QAston
58f63509cd Merge pull request #6314 from Chaplain/spells
Core/Spells: Separation of caster/target part damage/heal bonus calculation.
2012-05-09 15:10:33 -07:00
Chaplain
879070bc80 Core/Spells: Separation caster/target part damage/heal bonus calculations.
*Implement HoT/DoT save caster side bonuses and apply target mods on each tick
2012-04-28 23:32:25 +03: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
Kandera
b5a5080df0 Core/Spells: fix penance and holy shock targetting for non faction friendly npcs that appear friendly. should also fix the issue with using mixed groups 2012-04-26 11:15:23 -04:00
Kandera
16e367bb84 Core/Spells: fix build error with previous commits. 2012-04-26 09:28:48 -04:00
Kandera
aee77546e9 Core/Spells,DB/Conditions: Fix startup errors associated with bf0d001cd3 and 13b68af78d Closes #6346 2012-04-26 09:13:07 -04:00
Kandera
1b5fa3a6f3 Core/Spells: fix sql file from previous commit and add newline after load function 2012-04-25 14:21:56 -04:00
Kandera
13b68af78d Core/Spells: Convert some spells from spell_scripts in the db to a generic spellscript. 2012-04-25 14:07:20 -04:00
Kandera
b528f70639 Core/Spells: get effect value correctly. thx shauren! 2012-04-25 09:20:18 -04:00
Kandera
0ec4d55ca6 Core/Spells: Fix build error introduced in previous commit. 2012-04-25 09:15:09 -04:00
Kandera
5878a790db Core/Spells: Fix prayer of mending bonus from t9 healing 2 piece set. Closes #4069 2012-04-25 09:02:09 -04:00
Kandera
2e9196162e Core/Spells: Fix wrong target in Bloodthirst spell script. Closes #3359 2012-04-24 13:26:17 -04:00
Kandera
61bc8e1c6f Core/Spells: added function to initiation script.
DB/SAI: added rest of quest to database for Greatmother's Soulcatcher
2012-04-24 11:59:08 -04:00
Shauren
1851a2e9e3 Scripts: Replaced calls to ForcedDespawn with DespawnOrUnsummon (calls appropriate AI hooks in case of temporary summons) and made ForcedDespawn private 2012-04-24 16:53:37 +02:00
Shocker
70f93a63a2 Merge pull request #6304 from Vincent-Michael/shaman
Core/Spells: Fix Earthen Power

Closes #4795
2012-04-23 17:14:12 -07:00
Kandera
b07341f998 Core/Spells: Fix spell cast of greatmother's soulcatcher. closes #1882 2012-04-23 14:35:12 -04:00
Kandera
5da5021464 Core/Spells: fix rocket boots extreme (+lite) spell cooldown issue. 2012-04-23 13:42:54 -04:00
Vincent-Michael
ccda7c8a40 Core/Shaman: Fix Earthen Power 2012-04-22 20:29:47 +02:00
w1sht0l1v3
8cf7d91857 Core/DB: Quest The Emissary.
Fix condition in item spell(usable only when npc is above 95% hp).
Added correct faction,unit_flags and emote to Leviroth.
2012-04-22 13:58:22 +03:00
Vincent-Core
408c78dcd7 Core/Spells
* Converted percent based damage dealing spell effects to scripts
 * Fix Leviroth Self-Impale damage

Closes #6085

Signed-off-by: Shauren <shauren.trinity@gmail.com>
2012-04-21 12:17:45 +02:00
Kandera
839abe4dca Core/Spells: fix holy shock cast on friendly opposing team going on cooldown and saying invalid target. spell will now fail with invalid target and not cause a cooldown 2012-04-17 11:45:26 -04:00
Shauren
0f48da6ed1 Spell/Warrior: Fixed Concussion Blow damage part
Thanks ShinDarth
2012-04-16 20:33:19 +02:00
Subv
3d8aaabaf3 Core/Spells: Do not proc spells with PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_(NEG|POS) if there is no target, reimplemented Storm, Earth and Fire talent in another way
Closes #3367
Closes #2424

If you find more spells that are broken because of this, please notify us
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-14 20:08:16 -05:00
Subv
491999280e Core/Spells: You should not be able to cast Create Healthstone if you already have one in your inventory
Closes #1498
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-12 20:18:07 -05:00
Kandera
305cd14e86 Core/Spells: Fix Unrelenting assault proc only on players. 2012-04-12 13:29:28 -04:00
kandera
7f377964fb Core/Scripts: fix unrelenting assault procing on caster (thx gigatotem). both cast spells have target_unit_caster 2012-04-09 10:38:08 -03:00
Shauren
bfc73920c7 Scripts/Spells: Corrected Riptide script, preparing variable should be done in Load hook, not Register 2012-04-09 10:58:20 +02:00
Subv
e309c4fe1b Core/Spells: Fixed Riptide bonus on Chain Heal
closes #1152

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-08 19:09:30 -05:00
Machiavelli
bc96df1aae Core/Shared: Move container functions to shared project under Trinity::Container namespace. Also implement RandomResizeList which takes a predicate function as parameter.
Core/ScriptedAI: Extend SummonList::DoAction to take a predicate function as parameter and allow specifying a maximum number of units to be selected.
2012-04-08 17:40:05 +02:00
Subv
f8e9dedbe5 Scripts/Spells: Removed redundant code for spell 54798.
Closes #519

Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-07 21:09:04 -05:00
Subv
443adaff07 Scripts/Spells: When Frost Warding negates the damage taken, the Frost Ward should remain intact
Closes #313
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-04-07 18:27:47 -05:00
Kandera
9ae22e06f6 Core/Spells: Fix unrelenting assault not proccing aura when overpower is used while target is casting.
Closes #5965
2012-04-05 12:46:51 -04:00
Kandera
ef6b99cd37 Core/Spells: fix crash with wintergrasp water spell script. 2012-04-03 18:56:34 -04:00
Kandera
cce8b56a26 Core/Spells: fix wintergrasp water being applied to players. small codestyle fix 2012-04-03 10:19:17 -04:00