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
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
faramir118
ccf50f4c3d
dead code
2012-04-11 20:01:27 +02:00
faramir118
c09cd26739
wrong signature in a few overrides
2012-04-11 19:56:05 +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
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
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
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
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
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
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
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
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
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
Shauren
254256668b
Core: Fixed compile without PCH
2012-03-01 23:45:07 +01:00
kaelima
bc151a0453
Scripts/Zalazane's Fall: Fixed a logical mistake from last commit
2012-02-24 23:10:12 +01:00
kaelima
c7ddb428b3
Scripts/Zalazane's Fall: Some cleanup and general code improvement
2012-02-24 22:56:41 +01:00
Venugh
5416b734e4
Core/Movement: Use SetLevitate(true/false) instead of AddUnit/RemoveUnit.
2012-02-23 12:32:21 +01:00
Venugh
1cac01b3df
Core/Movement: Use SetWalk(true/false) instead of AddUnit/RemoveUnit.
2012-02-23 11:50:58 +01:00
Malcrom
35bc842fde
Scripts/npc_sergeant_bly: Talk text was placholders. Replaced with Creature text.
2012-02-19 21:30:43 -03:30
Subv
c6f4ab10e1
Core/Scripts: Fixed Thrall's weapon and shield models in Old Hillsbrad Foothills.
...
closes #3904
Signed-off-by: Subv <s.v.h21@hotmail.com >
2012-02-19 19:01:03 -05:00
click
5411e1ce52
Core: Clean up whitespace and tabs in the base sourcetree
2012-02-18 16:52:08 +01:00
QAston
de706b3211
Core/Db/Conditions: Add new condition targets for:
...
- CONDITION_SOURCE_TYPE_CREATURE_TEMPLATE_VEHICLE ConditionTarget = 1 - check vehicle
- CONDITION_SOURCE_TYPE_VEHICLE_SPELL ConditionTarget = 1 - check vehicle
- CONDITION_SOURCE_TYPE_GOSSIP_MENU = 1 - check gossip provider
- CONDITION_SOURCE_TYPE_GOSSIP_MENU_OPTION = 1 - check gossip provider
2012-02-15 22:13:27 +01:00
Subv
9791bb599a
Merge pull request #5160 from TrinityCore/dynamic_vmaps
...
Added Dynamic Vmaps, RE-EXTRACT YOUR VMAPS
2012-02-09 11:17:05 -08:00
Subv2112
93d199f043
Core/Collision: Ported dynamic line of sight patch by Silverice from MaNGOS and
...
added lots of improvements
Please re-extract vmaps
2012-02-09 13:58:22 -05:00
Matthew Goff
7a117dd429
Core/Misc:
...
- Replace emote magic number by enum
- Added all missing defines from AnimationData.dbc. Minor corrections to existing ones. Standardized some naming and updated cpp files as needed.
- Correct a spell used in AQ
Closes #3787
Closes #5095
2012-02-06 01:22:45 +00:00
QAston
c7ea952a47
Core/Entities: Rename UNIT_FLAG_OOC_NOT_ATTACKABLE and UNIT_FLAG_PASSIVE to UNIT_FLAG_IMMUNE_TO_PC and UNIT_FLAG_IMMUNE_TO_NPC respectively. New names tell much more about what those flags do.
2012-02-03 18:46:05 +01:00
Shocker
08be716ef8
Core/Misc: Rename UNIT_STAT_* enums to UNIT_STATE_*
2012-02-03 19:02:17 +02:00
Shocker
ff1964906b
Merge pull request #4981 from Souler/fix_omen
...
Events/Lunar Festival: Fixed behaviour of Elune's Candle, Rockets and Rocket Clusters. Implemented AI for Omen and his summoning ritual.
Closes #4939
2012-01-29 07:11:16 -08:00
Souler
50a6ec015e
Scripts/Spells: Fixed behaviour of Elune's Candle, Rockets and Rocket Clusters.
...
Scripts/NPC: Implemented AI for Omen and his summoning ritual.
2012-01-29 03:49:55 +01:00
Nay
5ceae46302
Core/Scripts: Rename pAI to ai
2012-01-29 01:48:36 +00:00
Bootz
b83aa17126
Scripts/Kalimdor: Maraudon
...
* Fixed basic coding standards.
- Fixed Enums in Defines.
2012-01-26 03:06:48 -06:00
Bootz
bf4b83436a
Scripts/Kalimdor: BlackFathomDeep
...
* Code Standardizations.
- Removed SD2 hieroglyphics.
- Removed Hungarian Notations.
- Fixed Enums in Defines.
2012-01-26 03:01:23 -06:00
Nay
ebfa6bbcd1
SQL: Fix remaining errors... *sighs*
2012-01-14 01:53:21 +00:00
Venugh
ab923f7157
Core/Scripts: typo from last commit. thx Discovered.
2012-01-14 00:22:26 +01:00
Venugh
46d1736d0d
Core/Scripts: Convert Torek script_texts to creature_text.
...
Apply coding style in it.
2012-01-14 00:20:03 +01:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00