Commit Graph

1543 Commits

Author SHA1 Message Date
Shauren
be5b91f6bb Scripts/Icecrown Citadel: Fixed crashes on despawning abominations during Professor Putricide's phase transition 2012-04-11 17:53:55 +02:00
kaelima
26ff19dbf8 Scripts/Silithus: Fix crash when doing "A Pawn on the Eternal Board"
Closes #6156
2012-04-11 13:40:17 +02:00
Shauren
abed18d695 Core/DBLayer: More type fixes 2012-04-09 17:36:10 +02:00
kaelima
3dabe220ce Cmake: Remove no longer existing */dep/mersennetwister include
Thanks Venugh for noticing
2012-04-09 16:03:22 +02: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
kaelima
4c961ff393 Core/Scripts: Remove some unnecessary creature/player casts in scripts and do some safer casting in a silithus script 2012-04-09 14:28:46 +02: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
Shauren
5e485cba76 Scripts/Icecrown Citadel: Fixed Mystic Buffet applying on targets hidden behind Ice Tombs 2012-04-08 15:15:16 +02:00
Shauren
56766949fa Scripts/Icecrown Citaldel
* Timer improvements after air phase for Sindragosa
* Added landing animation after air phase
* Unchained Magic affects 6 targets on 25 man mode
*
2012-04-08 12:14:04 +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
Nay
945566e84e Scripts/SM: Fix dead anymation of Fairbanks
Patch by DennisRassmann (25/10/2010)
Closes #4998
2012-04-07 22:29:19 +01:00
Nay
5fb2ffa625 Script/UC: Add some combat spells to Lady Sylvannas
Original patch by pxlcreations (11/04/2010)
2012-04-07 21:09:57 +01:00
Shauren
cb30a06756 Scripts/Pit of Saron: Geist Ambusher should only jump once, on entering combat 2012-04-07 21:38:33 +02:00
Shauren
ae0a6cde21 Core/DBLayer: More type fixes. 2012-04-07 17:27:40 +02:00
Shauren
33d5e7c753 Scripts/Icecrown Citadel: Fixed Ice Bomb visual synchronization
Closes #5179
2012-04-07 01:06:56 +02:00
w1sht0l1v3
478427e0d2 Scripts/Silithus: Few summons were being spawned at wrong locations (out of bounds array)
Fixes a crash and/or console errors
2012-04-06 21:05:48 +01: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
Jildor
e64d75f2c7 change GetMaxHealth and BeforeHit... 2012-04-01 22:01:17 +02:00
Jildor
b8558a6990 Core/Spells: Fix Spinning Pain Spike damage
Close: #5652
2012-04-01 18:00:37 +02:00
Gyx
a1c4786ba0 Core/Script: Code style and some rewriting.
MoveInLineOfSight(Unit* unit) -> MoveInLineOfSight(Unit* who)

Signed-off-by: Gyx <2359980687@qq.com>
2012-04-01 19:56:41 +08:00
Gyx
d9088c083c Core/Script: Code style and some rewriting.
JustDied(Unit* Killer) -> JustDied(Unit* killer)
JustDied(Unit* /*Killer*/) -> JustDied(Unit* /*killer*/)
JustDied(Unit* /*unit*/) -> JustDied(Unit* /*killer*/)
JustDied(Unit* /*slayer*/)) -> JustDied(Unit* /*killer*/)
JustDied(Unit* /*victim*/) -> JustDied(Unit* /*killer*/)
JustDied(Unit* victim) -> JustDied(Unit* killer)
JustDied(Unit* /*who*/) -> JustDied(Unit* /*killer*/)
JustDied(Unit* who) -> JustDied(Unit* killer)
JustDied(Unit*) -> JustDied(Unit* /*killer*/)

Signed-off-by: Gyx <2359980687@qq.com>
2012-03-31 18:56:37 +08:00
Gyx
ba2ee48fc6 Core/Script: Code style(Missing?).
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-30 10:39:33 +08:00
Gyx
391d68be20 Core/Script: Code style.
WaypointReached(uint32 i) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 uiPointId) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 /*point*/) -> WaypointReached(uint32 /*waypointId*/)
WaypointReached(uint32 uiI) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 /*i*/) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 uiWPointId) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 /*wp*/) -> WaypointReached(uint32 waypointId)
WaypointReached(uint32 /*point*/) -> WaypointReached(uint32 waypointId)

Signed-off-by: Gyx <2359980687@qq.com>
2012-03-29 15:44:24 +08: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
a20fa23ea6 Core/Script: Code style and remove unused core.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-28 15:15:48 +08: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
Nay
a92820b51c Core/DBLayer: Correct few more wrong read types (No. 1)
DB/World: Some consistency in the ints "length" field (not really a length)

From A to D world tables verified; missing all the others

int(11) -> int32
unsigned int(10) -> uint32
mediumint(8) -> int32
unsigned mediumint(8) -> uint32
smallint(6) -> int16
unsigned smallint(5) -> uint16
tinyint(4) -> int8
unsigned tinyint(3) -> uint8
2012-03-27 00:43:56 +01: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
kaelima
c38bf4498a Fix compile and fix a possible crash for mob_kiljaeden_controller 2012-03-26 03:12:56 +02:00
Subv
56fac5e1af Memory: Get rid of some memory leaks, converted FormationMgr back to singleton 2012-03-25 09:25:28 -05:00
leak
e37a4e5fe2 Merge pull request #5870 from Elron103/pull-requests5
Core: Fix warnings
2012-03-24 16:14:21 -07:00
Nay
192d7d735d Core/DBLayer: Few more type corrections
Closes #5871
2012-03-24 23:05:24 +00:00
Elron103
7daf69f20c Core: Fix warnings 2012-03-24 18:25:24 +01:00
Shauren
78e8de5913 Core/Scripts: Fixed script unloading 2012-03-24 17:09:42 +01:00
leak
3d0063abee Core: Fix warnings 2012-03-24 15:37:54 +01:00
Machiavelli
58caee1595 Merge pull request #5858 from w1sht0l1v3/AK
Scripts/Ahn'kahet/Prince Taldaram:
Fix movement after shield drops.(no more LoS issues)
Update boss texts and move them to creature_text.
Add proper sounds to text.
Add condition for a visual spell.
Add usage of different Embrace of the Vampyr spell based on difficulty.
2012-03-24 04:31:11 -07:00
w1sht0l1v3
dae82111b7 Scripts/Ahn'kahet/Prince Taldaram:
Fix movement after shield drops.(no more LoS issues)
Update boss texts and move them to creature_text.
Add proper sounds to text.
Add condition for a visual spell.
Add usage of different Embrace of the Vampyr spell based on difficulty.
2012-03-24 13:24:24 +02:00
leak
12e55a04bb Core/DBLayer: Convert PQuery() queries to prepared statements 2012-03-24 01:25:08 +01: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