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
Shauren
cb30a06756
Scripts/Pit of Saron: Geist Ambusher should only jump once, on entering combat
2012-04-07 21:38:33 +02:00
Shauren
33d5e7c753
Scripts/Icecrown Citadel: Fixed Ice Bomb visual synchronization
...
Closes #5179
2012-04-07 01:06:56 +02: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
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
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
leak
3d0063abee
Core: Fix warnings
2012-03-24 15:37:54 +01: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
w1sht0l1v3
ee305cbb26
Scripts/Ahn'kahet/Prince Taldaram: Fix Conjure Flame Sphere visual casting.
...
Flame Sphere should not be visible to players(only their visual).
2012-03-22 12:54:31 +02:00
Machiavelli
d521d75fae
Merge pull request #5825 from w1sht0l1v3/ToCr
...
Scripts/ToCr/Val'kyr Twins: Fix orb targeting.
2012-03-21 13:25:42 -07:00
w1sht0l1v3
e8c3cb1c10
Scripts/ToCr/Val'kyr Twins: Fix orb targeting.
...
Add missing triggers.
2012-03-21 22:17:34 +02:00
Machiavelli
e4ee3788e7
Scripts/ToC/Anub'Arak: Prevent spells (Leeching Swarm in particular) being interrupted by other spells.
2012-03-21 12:42:45 +01:00
Machiavelli
41cc704bf8
Core/Movement:
...
- Don't abort relocation if movementflag restrictions were violated. There might be lag between client and server and even different parts of the core that made this approach improper.
- MOVEMENTFLAG_ROOT cannot be used in conjunction with MOVEMENTFLAG_MASK_MOVING, but it's a valid flag to receive from client.
- Fix falling to ground when unapplying fly/waterwalk aura. NOTE: This is a client-side initiated fall, in the future this should be initiated and updated by the server. (Working on it)
- Rename MOVEMENTFLAG_FALLING to MOVEMENTFLAG_FALLING_FAR
- Rename MOVEMENTFLAG_JUMPING to MOVEMENTFLAG_FALLING
Closes #5751
2012-03-17 20:36:12 +01:00
Gyx
5cb16b65fc
Core/Script: Code style and remove unused core.
...
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-17 17:54:48 +08:00
Gyx
7877eae6ba
Core/Script: Code style and remove unused core.
...
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-17 12:17:15 +08:00
kaelima
d810acdeea
Core/InstanceScript: Encounterframe research - extended the EncounterFrameType enum
2012-03-16 23:16:49 +01:00
Gyx
d8b4bc590a
Core/Script: Code style and remove unused core.
...
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-16 21:41:15 +08:00
Gyx
cd38e7df2b
Core/Script: Code style.
...
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-16 20:31:23 +08:00
Gyx
bef1b0c402
Core/Script: Code style.
...
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-16 19:40:57 +08:00
Gyx
ddc0f5d7d6
Core/Script: Clean-Up in Scripts.
...
InstanceScript* m_instance -> InstanceScript* instance
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-16 19:35:13 +08:00
Gyx
76c18e00c7
Core/Script: Clean-Up in Scripts.
...
GameObject* pGO -> GameObject* go
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-16 19:28:10 +08:00
Gyx
fcbb222aca
Core/Script: Clean-Up in Scripts.
...
Creature* c -> Creature* creature
Creature* _Creature -> Creature* creature
Creature* Creature -> Creature* creature
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-16 19:21:47 +08:00
Shauren
4a96ae22a9
Scripts/Icecrown Citadel: Corrected flying animations for frostwyrms in Sindragosa's Lair and prevent reentering combat with Deathbringer Saurfang after encounter is won
2012-03-15 13:10:42 +01:00
leak
2a5caef4a6
Revert "Core: more more cleanup" - Build test anyone?
...
This reverts commit 20cd4c71ee .
2012-03-14 18:51:51 +01:00
thomas33
20cd4c71ee
Core: more more cleanup
2012-03-14 17:51:11 +01:00
Gyx
117fbb9010
Core/Script: Clean-Up in Scripts.
...
InstanceScript* Instance -> InstanceScript* instance
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-14 09:30:06 +08:00
Gyx
e8f414e143
Core/Script: Clean-Up in Scripts.
...
Creature* c -> Creature* creature
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-14 09:20:36 +08:00
Shauren
c0165ec7f8
Scripts/Icecrown Citadel: Lock Deathbringer Saurfang and Valithria Dreamwalker chests to players who fought them
2012-03-12 18:09:06 +01:00
Machiavelli
a48216e122
Scripts/UP/Svala: Temp compile fix for Svala. Currently rewriting the entire script.
2012-03-12 08:41:13 +01:00
Machiavelli
8af0067016
Scripts/ICC/Lich King: Typo correction in unit_field_bytes_1 usage related to hover, introduced in previous commit (thankfully the only one).
2012-03-12 01:10:02 +01:00
Machiavelli
03a24a84e4
Core/Units:
...
- Implement UNIT_FIELD_HOVERHEIGHT (requires DB data). This field, sent in update object packet, will determine the height at which a creature hovers if it has movementflag_hover applied. Note that hovering will now update the server-sided z-coordinate by the value of this field, and that all subsequent positional updates to the client will need to send z coordinate MINUS the hover height offset, or the hoverheight will be visually doubled client side.
- Correct our usage of movementflag_flying, movementflag_can_fly, movementflag_hover and movementflag_disable_gravity (previously levitate), and how they relate to InhabitType in the database. This fixes "flying creatures on steroids" bug (wings flapping too fast), and potentially a lot of visual issues in AI scripts. Note that a lot of scripts still set wrong movementflags, these need to be fixed on a case by case basis.
- Send correct packets for SPELL_AURA_FEATHER_FALL, SPELL_AURA_WATER_WALK and SPELL_AURA_HOVER apply/unapply.
- Send correct packet contents for movement update in Unit::SetSpeed.
- Misc. cleanup in affected scripts.
2012-03-12 00:53:45 +01:00
Discover-
410a6a080d
Merge pull request #5632 from FrozenSouL/tc_helper
...
Update forgotten copyright-headers for 2012
2012-03-10 12:14:16 -08:00
Shauren
f85fdbebe7
Core/DBC: Remove store getters (useless since we don't have scripts as external dll)
2012-03-10 20:53:26 +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
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
Vincent-Core
48a4950cac
Core/Quest: Fix MovementInform handler filter for Quest "The Amphitheater of Anguish: Tuskarrmageddon!"
2012-03-04 13:19:20 +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
Shauren
254256668b
Core: Fixed compile without PCH
2012-03-01 23:45:07 +01:00
Shauren
09f0a2c04f
Core/CreatureTextMgr: Added support for creature_text localization
2012-03-01 22:26:05 +01:00
Malcrom
91e7dc8561
DB/Creature_Text: Convert script_texts to creature_text for boss General Bjarngrim
2012-03-01 17:42:49 -03:30
Malcrom
c531cbc695
DB/Creature_Text: Convert script_texts to creature_text for boss Volkhan, Halls of Lightning.
2012-02-29 21:56:22 -03:30
Malcrom
67e6f9afab
DB/Creature_Text: Convert script_texts to creature_text for boss Ionar, Halls of Lightning.
2012-02-29 21:35:59 -03:30