QAston
e53b44b6ba
Merge pull request #6491
...
Core/Spells: convert some spell effects to SpellScripts
Closes #6491
2012-06-14 19:12:03 +02:00
joschiwald
cd7ab6f3a5
Merge branch 'master' of github.com:joschiwald/TrinityCore into spellscripts
...
Conflicts:
src/server/game/Entities/Unit/Unit.cpp
src/server/game/Spells/Auras/SpellAuraEffects.cpp
src/server/game/Spells/Spell.cpp
src/server/game/Spells/SpellEffects.cpp
src/server/scripts/Spells/spell_paladin.cpp
2012-05-28 04:27:51 +02:00
joschiwald
ca07f30d03
Core/Spells: convert some spell effects to SpellScripts
2012-05-28 04:07:51 +02:00
Vincent-Michael
ab77e597b1
Add function for SetObjectScale
...
Author: NoFantasy
Source: Mangos
2012-05-26 23:14:57 +02:00
Malcrom
74da8dc410
Core: another update cause case matters!
2012-05-26 00:38:53 -02:30
Malcrom
83f74263a2
core: fix ubrs script
2012-05-26 00:27:10 -02:30
Malcrom
39a609ce5c
Core/DB: Some updates for UBRS from sniff
2012-05-25 23:53:33 -02:30
4m1g0
524e30e57b
Scripts/kalimdor: Use proper headers to optimize compile, code style and general cleanup.
...
Closes #6419 (pr)
2012-05-19 15:11:09 +01:00
Malcrom
ac844f9953
Core/Scripts: Scripting of Dragonspire Hall Runes "UBRS"
...
Additional work to do.
2012-05-16 12:30:37 -02:30
Malcrom
fa7e9d3c0d
Core/Scripts: And some Gameobject enums for future scripting of Blackrock Spire.
2012-05-13 15:14:32 -02:30
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
b1c4e8202e
Scripts/Karazhan/Midnight: Fix timer logic
...
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com >
2012-04-11 20:00:51 +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
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
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
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
kaelima
c38bf4498a
Fix compile and fix a possible crash for mob_kiljaeden_controller
2012-03-26 03:12:56 +02: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
Martin Weinelt
419e6a4a9e
Scripts/Magister's Terrace: Fix Translocation Orb Activation and correct some codestyle
2012-03-14 23:30:55 +01: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
Nay
2b2d054f64
R.I.P SimpleAI
...
- Convert SimpleAI to (DB) SmartAI
- Spell ids corrected (and completed some of the scripts)
- Random cleanup (code style) in some scripts
2012-03-11 16:59:17 +00: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
Spp
d38bc3a178
Core: Rename GetCreatureInfo to GetCreatureTemplate and minor cleanup here and there
2012-02-27 14:58:47 +01:00
Shauren
dc28b92415
Core: Random cleanup + compile fix
2012-02-23 13:01:16 +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
Nay
bbfceafed6
Actually remove searing_gorge.cpp from CMakeLists, sorry.
2012-02-22 20:12:45 +00:00
Nay
a7e5c3c7c4
Misc: Delete searing_gorge.cpp and fix a typo in worldserver config
2012-02-22 19:56:23 +00:00
Malcrom
0fba6e70f6
scripts: Searing Gorge wasn't cleaned up properly.
2012-02-22 14:06:50 -03:30
Malcrom
7da99c4589
db/SAI: Move Kalaran Windblade script to SAI and improved scripting and gossip.
2012-02-22 12:59:46 -03:30
Malcrom
74fc13596c
DB/Scripts: Remove 2 cpp scripts in Searing Gorge and replace with SAI.
2012-02-21 20:03:12 -03:30
Malcrom
f87da6d664
DB/Gossip: Fix gossip for Fallen Hero of the Horde and remove cpp script.
2012-02-18 15:38:51 -03:30
click
5411e1ce52
Core: Clean up whitespace and tabs in the base sourcetree
2012-02-18 16:52:08 +01:00
Malcrom
958c32b026
Move gossip for Lore Keeper of Norgannon to db. Remove cpp script. Also rename some incorrectly named sql updates.
2012-02-18 08:27:00 -03:30
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