Commit Graph

305 Commits

Author SHA1 Message Date
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
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
Gyx
360014856d Core/Game: Code style.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-29 13:42:04 +08:00
Shocker
a08cb234c0 Merge pull request #5918 from GyxTom/master
Core/Misc: Various cleanups
2012-03-28 18:00:42 -07:00
Kandera
6763c23777 Core/Spells: attempt to fix penance doing nothing on "friendly" non faction targets. should return invalid targets 2012-03-28 08:29:42 -04: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
613d5368a5 Core/Spells: and another mistake from the misdirection fix >.> 2012-03-26 15:15:06 -03:00
Kandera
522dfa8e0c Core/Spells: one more miss from misdirection fix 2012-03-26 12:24:11 -04:00
Kandera
7b357a5028 Core/Spells: Fix Misdirection (thx to elron) closes #5869, #4343 2012-03-26 11:37:03 -04: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
Gyx
e5afa4a950 Core/Script: Clean-Up in Scripts.
Item* pItem -> Item* item

Signed-off-by: Gyx <2359980687@qq.com>
2012-03-16 20:57:13 +08:00
leak
2a5caef4a6 Revert "Core: more more cleanup" - Build test anyone?
This reverts commit 20cd4c71ee.
2012-03-14 18:51:51 +01:00
kandera
b02a012b47 Core/SpellScripts: fix crash caused my spell_gen_vehicle_scaling. closes #5703 (thx vincent-michael) 2012-03-14 14:05:39 -03:00