Vincent_Michael
66e8d8c69e
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
...
Conflicts:
src/server/game/Entities/Unit/Unit.cpp
src/server/game/Handlers/BattleGroundHandler.cpp
src/server/game/Instances/InstanceScript.cpp
src/server/game/Server/Protocol/Opcodes.cpp
src/server/game/Server/WorldSession.h
src/server/scripts/Spells/spell_priest.cpp
src/server/scripts/Spells/spell_rogue.cpp
2013-01-11 19:10:10 +01:00
joschiwald
0c16b95905
Misc: Reorder scripts in some script files and some cosmetic stuff
2013-01-11 04:18:02 +01:00
Spp
aed36a8375
Merge branch 'master' into 4.3.4
...
Conflicts:
dep/libmpq/CMakeLists.txt
src/server/game/AI/EventAI/CreatureEventAI.cpp
src/server/game/AI/EventAI/CreatureEventAI.h
src/server/game/AI/EventAI/CreatureEventAIMgr.cpp
src/server/game/AI/EventAI/CreatureEventAIMgr.h
src/server/game/Entities/Creature/Creature.h
src/server/game/Entities/Item/ItemPrototype.h
src/server/game/Entities/Object/ObjectDefines.h
src/server/game/Entities/Player/Player.cpp
src/server/game/Handlers/ReferAFriendHandler.cpp
src/server/game/Movement/Spline/MoveSplineInit.h
src/server/game/World/World.h
src/server/scripts/EasternKingdoms/ZulGurub/boss_arlokk.cpp
src/server/scripts/EasternKingdoms/ZulGurub/boss_gahzranka.cpp
src/server/scripts/EasternKingdoms/ZulGurub/boss_grilek.cpp
src/server/scripts/EasternKingdoms/ZulGurub/boss_hakkar.cpp
src/server/scripts/EasternKingdoms/ZulGurub/boss_hazzarah.cpp
src/server/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp
src/server/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp
src/server/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp
src/server/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp
src/server/scripts/EasternKingdoms/ZulGurub/boss_renataki.cpp
src/server/scripts/EasternKingdoms/ZulGurub/boss_thekal.cpp
src/server/scripts/EasternKingdoms/ZulGurub/boss_wushoolay.cpp
src/server/scripts/EasternKingdoms/ZulGurub/instance_zulgurub.cpp
src/server/scripts/EasternKingdoms/ZulGurub/zulgurub.h
src/server/scripts/EasternKingdoms/boss_kruul.cpp
src/server/scripts/OutdoorPvP/OutdoorPvPEP.cpp
src/server/scripts/OutdoorPvP/OutdoorPvPEP.h
src/server/shared/Database/Implementation/CharacterDatabase.cpp
src/server/shared/Database/Implementation/CharacterDatabase.h
src/server/shared/Database/Implementation/WorldDatabase.cpp
2013-01-02 13:30:51 +01:00
Vincent_Michael
cc65aba789
Update copyright note for 2013.
...
Happy new year.
2013-01-01 00:41:01 +01:00
Vincent_Michael
d2cc278283
Core/Spells: Rename spell script scripts in correct script name
2012-12-14 23:19:03 +01:00
Warpten
f01f695c7d
Core/Spells: Fixed Leap of Faith and renamed a spell script to match standards.
2012-11-25 21:07:08 +01:00
Spp
7f061fc57f
Merge branch 'master' into 4.3.4
...
Conflicts:
src/server/game/AI/EventAI/CreatureEventAI.cpp
src/server/game/AI/EventAI/CreatureEventAIMgr.cpp
src/server/game/AI/EventAI/CreatureEventAIMgr.h
src/server/game/Battlegrounds/Battleground.h
src/server/game/Chat/Chat.h
src/server/game/Entities/Player/Player.cpp
src/server/game/Globals/ObjectMgr.cpp
src/server/game/Globals/ObjectMgr.h
src/server/game/Guilds/Guild.cpp
src/server/game/Handlers/CharacterHandler.cpp
src/server/game/Handlers/MailHandler.cpp
src/server/game/Miscellaneous/SharedDefines.h
src/server/game/Server/Protocol/Opcodes.cpp
src/server/game/Spells/SpellInfo.cpp
src/server/game/World/World.cpp
src/server/scripts/Commands/cs_modify.cpp
src/server/scripts/Commands/cs_reload.cpp
src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp
src/server/shared/Database/Implementation/CharacterDatabase.cpp
2012-11-19 10:09:58 +01:00
Spp
b99c347747
Core: Remove Player.h dependency from all the possible headers
2012-11-17 05:18:37 +01:00
Spp
f570383fba
Merge branch 'master' into 4.3.4
...
Conflicts:
src/server/game/Battlegrounds/Battleground.cpp
src/server/game/Battlegrounds/BattlegroundMgr.cpp
src/server/game/Entities/Player/Player.cpp
src/server/game/Entities/Transport/Transport.cpp
src/server/game/Entities/Unit/StatSystem.cpp
src/server/game/Entities/Unit/Unit.cpp
src/server/game/Spells/Auras/SpellAuraEffects.cpp
src/server/game/Spells/Auras/SpellAuras.cpp
src/server/game/Spells/SpellEffects.cpp
src/server/game/Spells/SpellInfo.cpp
2012-10-04 13:33:04 +02:00
Spp
380db44583
Core/Utilities: Use generic templates with AddPct, ApplyPct and CalculatePct
2012-10-02 12:17:42 +02:00
Vincent-Michael
50bed7eb4b
Core/Spells: Cleanup in 71ca106814 /slap me
2012-08-26 05:05:05 +02:00
Vincent-Michael
71ca106814
Core/Spells: Implement visual spells for priest shadowform
2012-08-26 04:44:41 +02:00
Vincent-Michael
968a8e8ee8
Core/Spells: Fix Pain and Suffering reduces damage
2012-07-11 17:34:03 +02:00
Shauren
e0997874f5
Core/SpellScripts: Changed OnUnitTargetSelect hook to OnObjectAreaTargetSelect, it will now work with WorldObject instead of only Units and call it even for empty target lists
2012-06-29 21:53:35 +02:00
Kandera
9d19be2ee5
Core/Spells: fix spell scripts from recent commit and cleanup scripts
2012-06-15 12:56:15 -04:00
QAston
aae45460ed
Merge Pull Request #6744 'EmpoweredRenew'
...
Core/Spells: Fix Empowered Renew calculation
Closes #6744
2012-06-14 19:25:50 +02:00
Vincent-Michael
62c64920f1
Core/Spells: Fix Empowered Renew calculation
2012-06-13 22:26:35 +02:00
joschiwald
ca07f30d03
Core/Spells: convert some spell effects to SpellScripts
2012-05-28 04:07:51 +02:00
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
Kandera
b5a5080df0
Core/Spells: fix penance and holy shock targetting for non faction friendly npcs that appear friendly. should also fix the issue with using mixed groups
2012-04-26 11:15:23 -04:00
Kandera
b528f70639
Core/Spells: get effect value correctly. thx shauren!
2012-04-25 09:20:18 -04:00
Kandera
0ec4d55ca6
Core/Spells: Fix build error introduced in previous commit.
2012-04-25 09:15:09 -04:00
Kandera
5878a790db
Core/Spells: Fix prayer of mending bonus from t9 healing 2 piece set. Closes #4069
2012-04-25 09:02:09 -04:00
Gyx
360014856d
Core/Game: Code style.
...
Signed-off-by: Gyx <[email protected] >
2012-03-29 13:42:04 +08: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
Spp
1e246cb66c
Fix build (gcc) and fix warnings
2012-02-22 09:15:57 +01:00
click
dce3bc01ac
Core: Fix non-PCH building
2012-02-19 16:57:07 +01: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
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
kaelima
120d4f45dd
DB/SAI: Fix some Hallow's End quests
...
- Flexing for Nougat (8359,8356)
- Incoming Gundrop (8358,8358)
- Dancing for Marzipan (8360,8360)
- Chicken Clucking for a Mint (8354,8353)
Ty Kaopeira
2011-10-23 04:29:44 +01:00
kaelima
5fdde0da73
Core/Spells: Move Shadowfiend's passive aura to creature addon.
...
Partly reverts ddec56b3e0
2011-10-21 14:05:40 +01:00
Liberate
ddec56b3e0
Core/Spells: Fix shadowfiend.
...
Fixes #3285
2011-10-19 23:30:25 +02:00
Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
Spp
9e517c963b
Cosmetic: Replace "* )" with "*)" and "* /*" with "* /*"
2011-09-29 09:32:55 +02:00
QAston
e949ad3adb
Core/Spells: spell effect handling improvements
...
* Call spell effect handlers in 4 modes:
- SPELL_EFFECT_HANDLE_LAUNCH - called when spell is launched (cast just finished)
- SPELL_EFFECT_HANDLE_LAUNCH_TARGET - called when spell is launched for each target in spell target map
- SPELL_EFFECT_HANDLE_HIT - called when spell hits its destination
- SPELL_EFFECT_HANDLE_HIT_TARGET - called when spell hits it's target from spell target map
*Correctly implement SPELL_EFFECT_TRIGGER_SPELL, SPELL_EFFECT_TRIGGER_SPELL_WITH_VALUE, SPELL_EFFECT_TRIGGER_MISSILE_SPELL_WITH_VALUE, SPELL_EFFECT_TRIGGER_MISSILE_SPELL
*Remove spell system hacks which became obsolete with this commit
Core/SpellScripts:
add OnEffectLaunch, OnEffectLaunchTarget, OnEffectHit, OnEffectHitTarget hooks for new effect handle modes and remove OnEffect hook.
A generic rule of thumb how to update your scripts (will work for nearly all cases) for spell system noobs:
if your spell script used GetHitXXXX function, you need to use OnEffectHitTarget, otherwise use
OnEffectHit
2011-09-25 13:29:50 +02:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
QAston
71b9e0d8de
Core/Spells: Make mind sear aoe no longet target unit at which caster is channeling the spell.
2011-09-01 09:07:14 +02:00
QAston
a077a26aa5
Core/Spells: update the core to the changes from 1fb1988d46 . To make your custom code work with those changes simply lookup the value of Targets enum value from prev rev, and update the name in your code.
2011-08-16 19:44:18 +02:00
QAston
b0fe236265
Core: Use new SpellInfo class in core. Sadly, this commit is not compatibile with some of the custom code. To make your code work again you may need to change:
...
*SpellEntry is now SpellInfo
*GetSpellProto is now GetSpellInfo
*SpellEntry::Effect*[effIndex] is now avalible under SpellInfo.Effects[effIndex].*
*sSpellStore.LookupEntry is no longer valid, use sSpellMgr->GetSpellInfo()
*SpellFunctions from SpellMgr.h like DoSpellStuff(spellId) are now: spellInfo->DoStuff()
*SpellMgr::CalculateEffectValue and similar functions are now avalible in SpellEffectInfo class.
*GET_SPELL macro is removed, code which used it is moved to SpellMgr::LoadDbcDataCorrections
*code which affected dbc data in SpellMgr::LoadSpellCustomAttr is now moved to LoadDbcDataCorrections
2011-07-26 23:09:28 +02:00
Spp-
6fd41ae50e
Scripts: Reorder file names in Commands/CMakeList file and cosmetic changes in all scripts
2011-06-30 14:24:56 +02:00
click
158966dc79
Core: Codestyle cleanup
2011-06-11 22:35:29 +02:00
Shauren
5adf9c5d30
Scripts/Spells: Moved all special target filtering cases to scripts
2011-01-22 17:21:24 +01:00
Spp
bd2728eb74
Core: Fix some warnings
2011-01-11 11:18:00 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
QAston
c8adcc95f9
Core/Unit: Move spell specific code from Unit::CalcAbsorbResist to AuraScripts.
2010-12-30 02:03:46 +01:00
Shauren
0f3b9019a8
Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
...
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00
QAston
1760e42e2c
Core/ScriptSystem: Add compile time type check of function assigned to hooks - prevents incorrect function calls. Since this rev you have to put PrepareSpellScript(<yourscriptclassnamehere>) at the beginning of every spell script. Yes, i know it's unhandy, but unfortunately C++ preprocessor is very limited, so you have to do that extra work each time you write a script:(.
...
--HG--
branch : trunk
2010-10-08 21:33:44 +02:00
Spp
822421f625
Core: Fix some warnings:
...
- enumeration value ‘X’ not handled in switch
- unused parameter 'X'
--HG--
branch : trunk
2010-09-20 13:52:11 +02:00
silinoron
383af00e2b
Core/Spells: Allow a priest's Mana Burn to break fear.
...
Patch by dr.tenma.
Fixes issue #3985
--HG--
branch : trunk
2010-09-18 19:26:34 -07:00