Commit Graph

274 Commits

Author SHA1 Message Date
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
thomas33
20cd4c71ee Core: more more cleanup 2012-03-14 17:51:11 +01:00
frozenarmor
609728a17b Update forgotten copyright-headers for 2012.
Signed-off-by: frozenarmor <venom.victorios@gmail.com>
2012-03-11 00:52:06 +05:00
kandera
2e58d7b515 Core/Spells: cleanup warning for life tap 2012-03-07 10:15:40 -05:00
Kandera
c23ff109df Core/Spells: attempt to fix damage for life tap (thx again vincent-michael) 2012-03-07 09:16:52 -05:00
Spp
f495e0efe4 Warning fixes and some random cleanup here and there 2012-03-07 14:09:18 +01:00
click
a153e0ca06 Core: Remove some whitespace and tabs 2012-03-07 00:05:34 +01:00
Shauren
bf5c8d7399 Scripts/Spells: Fixed target of visual polymorph in Silvermoon city 2012-03-06 22:05:33 +01:00
Kandera
e1550d98e7 small cleanup 2012-03-05 11:21:53 -05:00
Kandera
a5e598b2c4 Core/SpellScripts: Fix life tap mana regen (thx to vincent-michael) closes #5536 2012-03-05 11:18:36 -05: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
Subv
d21179ab56 Merge pull request #5426 from Souler/fix_ds_pipe_knockback
Dalaran Sewers Arena: Knockback from starting pipe
2012-03-03 12:20:39 -08: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
Souler
c119c0ce13 Core/Arenas/Dalaran Sewers: Players who stay on the pipe after the battle has begun should be knocked into the arena.
Also corrected the orientation of horde starting position
2012-03-02 17:20:45 +01:00
QAston
8653016bdd Merge pull request #5445 from Souler/fix_demonic_circle
Move Demonic Circle related code to spell_warlock.cpp
2012-02-27 07:15:39 -08:00
Spp
d38bc3a178 Core: Rename GetCreatureInfo to GetCreatureTemplate and minor cleanup here and there 2012-02-27 14:58:47 +01:00
Souler
05097c7fc5 Scripts/Spells: Move Demonic Circle mechanics to spell_warlock.cpp 2012-02-26 17:22:27 +01:00
click
6f152a1ff8 Core/Scripts: Remove some leftover debugging-output from the warlock spellscripts 2012-02-25 21:18:29 +01:00
QAston
ccbe209ded Merge pull request #5343 from kandera/fix_spell_script_stuff
fix a few issues with the spell scripts i made.
2012-02-23 09:35:10 -08:00
Kandera
c27a0333ce Core/Scripts: script despawn for dummy effect of muisek vessels 2012-02-23 12:18:51 -05:00
w1sht0l1v3
1fc122e5c6 DB/Quests: Mounting Hodir's Helm.
DB/Quests: Quest relations for Polishing the Helm.
Closes #5231
2012-02-22 22:38:16 +00:00
Spp
1e246cb66c Fix build (gcc) and fix warnings 2012-02-22 09:15:57 +01:00
QAston
f09b5a6bea Core/Db/Conditions:
-Drop condition CONDITION_SPELL_SCRIPT_TARGET, use other condition types instead
-Change CONDITION_SOURCE_TYPE_SPELL_SCRIPT_TARGET to CONDITION_SOURCE_TYPE_SPELL_IMPLICIT_TARGET:
--allow using this condition for more spell implicit target types (not just ENTRY)
--SourceGroup value for this src type is now effMask and it's now required

Core/Spells: Unify the way implicit targets are handled, fully implement some partially implemented target types, fix some minor bugs found on the way, general improvements and cleanup.
2012-02-21 20:17:45 +01:00
Kandera
3d85e099e2 fix a few issues with the spell scripts i made. 2012-02-21 10:55:30 -05:00
click
5cd6165ab1 Core/Scripts: Add a forgotten header after stash/reapply sequence from last commit 2012-02-19 17:30:41 +01:00
click
dce3bc01ac Core: Fix non-PCH building 2012-02-19 16:57:07 +01:00
Nay
3b1cd7caea Scripts/Spells: Remove debug leftover from spell_dru_starfall_dummy 2012-02-19 15:36:38 +00:00
Nay
0a0233b215 Core/Packets: Use a single method to send SMSG_ACTIVATETAXIREPLY
Also fix a typo introduced in 703ad4889
2012-02-18 23:03:41 +00:00
Nay
703ad48890 Scripts/Spells: Revert a little part of spell_dru_starfall_dummy (original code)
Thanks to Drago for testing
Closes #5305
2012-02-18 21:26:24 +00:00
vincent-michael
34a41d0152 Scripts/Spells: Use correct spell and fix crash in spell_item_impale_leviroth 2012-02-18 21:18:02 +00: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