joschiwald
99081bcf54
Merge branch 'master' of github.com:TrinityCore/TrinityCore
2013-08-22 13:48:47 +02:00
joschiwald
8e833743d4
Scripts/GruulsLair: reworked InstanceScript
...
Known Issue: position desynch after creature respawn
2013-08-22 13:47:54 +02:00
joschiwald
a383885f5c
Scripts/AhnKahet: reworked InstanceScript
2013-08-21 19:43:46 +02:00
joschiwald
62c7e309ee
Scripts/BlackTemple: reworked InstanceScript
2013-08-21 12:29:28 +02:00
joschiwald
7a14e366ac
Scripts/AzjolNerub: reworked InstanceScript
2013-08-20 23:05:00 +02:00
joschiwald
7e3a52bb42
Scripts/HallsOfLightning: reworked InstanceScript
2013-08-20 18:11:41 +02:00
joschiwald
e0f010b310
Scripts: Random script fixes and code optimizations
2013-08-19 20:03:06 +02:00
joschiwald
2b19ba1879
Misc: replace Unit::GetPlayer with ObjectAccessor::GetPlayer and some cosmetic changes
2013-08-18 01:41:10 +02:00
joschiwald
c45e665c86
Core/Spells: move spell resistance calculation into separate function (and some cosmetic changes)
...
Ref #7254
2013-08-17 00:47:44 +02:00
joschiwald
73f7c1118d
Core/Spells: implemented SPELL_ATTR0_CU_TRIGGERED_BY_CASTER to correct some triggered spells, which will wrongly triggered by target instead of caster
...
Closes #1972
2013-08-14 18:22:28 +02:00
joschiwald
e87402dd05
Core/Spells:
...
- corrected structure of SMSG_PET_CAST_FAILED (fixes highlighted action buttons)
- simplified spell focus check
2013-08-14 15:45:36 +02:00
joschiwald
de27cfd102
DB/Spells: Fix Rune Strike
...
Closes #6514
2013-08-12 01:54:15 +02:00
joschiwald
8c7db6cc8d
DB/Spells: Rename LoS for spell Rod of Purification
...
Ref #1972
2013-08-09 18:38:15 +01:00
joschiwald
0667e89005
Scripts/DrakTharonKeep: add some spellscripts, add yells to novos, and do some cosmetic changes
2013-08-07 17:31:36 +02:00
joschiwald
f04217300c
Core/Battleground: fix type mismatch
...
Ref #10320
2013-07-31 11:07:58 +02:00
joschiwald
0d0baf004d
Scripts/DrakTharonKeep: fix copy paste fail
...
Closes #10402
2013-07-30 15:46:56 +02:00
joschiwald
d868f9db4b
Scripts/DrakTharonKeep: reworked InstanceScript
2013-07-29 12:49:27 +02:00
joschiwald
cf7e783274
Scripts/Spells: Fixed typo in 7678800a93
2013-07-27 21:25:56 +02:00
joschiwald
7678800a93
Scripts/Spells: simplified "spell_dk_presence"
2013-07-27 17:53:00 +02:00
joschiwald
b4d2796e33
Core/Spells: moved Improved Paladin Auras and Aura Mastery into SpellScripts
...
Closes #205
Closes #5163
Closes #6809
Closes #7408
Closes #9587
2013-07-27 02:37:48 +02:00
joschiwald
34fc72cf71
DB/Conditions: Fix gossip condition for Bat Handler Camille <Bat Handler>
...
Closes #10240
2013-07-26 00:32:09 +02:00
joschiwald
f94eb922f7
Core/Spells: fix uninitialised value
2013-07-25 18:32:00 +02:00
joschiwald
e9750a4b65
Core/Spells: move Death Knights Presences into SpellScripts, fix possible issue after spec change, and fix some startup errors
...
Closes #10354
2013-07-25 18:06:21 +02:00
joschiwald
c4a1ad2810
Merge pull request #10342 from joschiwald/spellinfo_corrections
...
Core/Spells: operate spell correction on SpellInfo store instead of dbc ...
2013-07-24 15:18:24 -07:00
joschiwald
8a87ab04ee
Merge pull request #10331 from joschiwald/spell_proc_ranks
...
Core/Spells: allow to use ranked spells in `spell_proc_event` table (lik...
2013-07-24 15:00:14 -07:00
joschiwald
e6a146aba8
Core/Spells: allow to use ranked spells in spell_proc_event table (like in spell_proc table)
2013-07-24 23:52:06 +02:00
joschiwald
516e33f94c
Merge pull request #10327 from joschiwald/spell_talent_ranks
...
Core/Spells: load spell ranks for talents from dbc
2013-07-24 06:42:02 -07:00
joschiwald
9fb45ef64c
Core/Spells: load spell ranks for talents from dbc
2013-07-24 15:38:19 +02:00
joschiwald
10390465f2
Core/Spells: add some logs for loading spell_script_names
2013-07-24 15:18:42 +02:00
joschiwald
a522be8108
Merge pull request #10336 from joschiwald/spellscripts5
...
Scripts/Spells: backport some SpellScripts from 4.3.4 branch
2013-07-23 17:21:17 -07:00
joschiwald
99c67c103d
Scripts/Spells: backport some SpellScripts from 4.3.4 branch
...
- Fix Earth Shield
- Fix Necrotic Touch
- Fix Reflective Shield
Closes #9145 , #9163 , #9665
2013-07-24 02:13:49 +02:00
joschiwald
00f3b01ea7
Core/Spells: operate spell correction on SpellInfo store instead of dbc (picked from 77b85b2ea0)
2013-07-24 00:06:21 +02:00
joschiwald
2d6a48840c
Core/Spells: use SpellInfo class to get spell rank instead of SpellMgr helpers
2013-07-21 13:37:34 +02:00
joschiwald
380cf5d241
Core/Misc: replace (Player*) casts with ToPlayer()
2013-07-21 01:38:21 +02:00
joschiwald
ddb1183f6a
Core/Battleground: use generic function to relocate players to closest graveyard
2013-07-21 00:30:19 +02:00
joschiwald
d52ce57e59
Scripts/ForgeOfSouls: move "Mirrored Soul" into SpellScripts
2013-07-19 00:24:25 +02:00
joschiwald
06d54ba438
Scripts/VaultOfArchavon/Koralon: Fix Meteor Fists
2013-07-18 23:01:14 +02:00
joschiwald
3e108f0680
DB/Autobroadcast: Update correct db struktur and auth base
2013-06-02 19:41:27 +02:00
joschiwald
95d2ad32f7
Core/Spells: Fix spell script "spell_yogg_saron_malady_of_the_mind"
...
Closes #9813
2013-05-20 00:13:36 +02:00
joschiwald
425f85c354
Core/ScriptLoader: load eventscripts
2013-04-28 15:57:44 +02:00
joschiwald
c0303c82bf
Scripts/Quest: Fix "Massacre At Light's" after recent vehicle changes and drop some silly code
...
Closes #9448
2013-04-12 21:21:30 +02:00
joschiwald
af50ce6223
Core/Spell: convert more spells to SpellScripts
2013-01-22 23:36:51 +01:00
joschiwald
c38d95ac33
Core/Spells: convert some spells to SpellScripts
2013-01-20 04:30:17 +01:00
joschiwald
2f1bbb2c7a
Misc: Reorder more scripts in some script files and some cosmetic stuff
2013-01-13 02:41:40 +01:00
joschiwald
95f8068a6f
Misc: Reorder more scripts in some script files and some cosmetic stuff
2013-01-12 02:16:30 +01:00
joschiwald
0c16b95905
Misc: Reorder scripts in some script files and some cosmetic stuff
2013-01-11 04:18:02 +01:00
joschiwald
89490e4d7f
Core/SpellScripts: implement Spell Proc Hooks and use it in old and new proc system
...
Hooks:
- DoCheckProc: executed when aura checks if it can proc
- DoPrepareProc: executed before aura procs (possibility to prevent charge drop/cooldown)
- OnProc: executed when aura procs
- OnEffectProc: executed when aura effect procs
- AfterEffectProc: executed after aura effect proced
- AfterProc: executed after aura proced and charges removed
using PreventDefaultAction() in DoPrepareProc will prevent charge drop and cooldown
default execution of a proc can prevented in OnEffectProc with PreventDefaultAction()
Now we should be able to convert almost all procs from Unit::ProcDamageAndSpellFor to SpellScripts
Notes to old proc system:
- if a proc has a cooldown we must check it in spellscript and add it when we handle the proc
- behavior with charge drops is possible undefined (use PreventDefaultAction() in OnEffectProc to notify that the script is executed)
2013-01-11 01:21:44 +01:00
joschiwald
18bfa14b74
Core/DisableMgr: readd possibility to disable los check for spells
2012-12-31 01:48:51 +01:00
joschiwald
08f62d8313
Core/MMaps: use DisableMgr to disable pathfinding on a specific map
2012-12-30 21:09:21 +01:00
joschiwald
22896bd7a4
Core/VMaps: drop "vmap.ignoreSpellIds" in config, this is not longer necessary since we use SPELL_ATTR2_CAN_TARGET_NOT_IN_LOS
2012-12-30 18:52:32 +01:00
joschiwald
3288d7024a
Core/Spells: fix possible crash when loading spell_proc table
2012-12-27 06:04:45 +01:00
joschiwald
c19f78c363
Core/Conditions: implement CONDITION_SOURCE_TYPE_SPELL_PROC and use it in old and new proc system
...
Usage:
SourceTypeOrReferenceId: 24
- SourceGroup: always 0
- SourceEntry: spell id of aura which triggers the proc
- ConditionTarget:
* 0 - Actor
* 1 - ActionTarget
2012-12-22 01:37:54 +01:00
joschiwald
4116ba75e3
DB/Conditions: Fix typo in f4e7cde1b5 (argh .... i've failed)
2012-12-20 23:19:29 +01:00
joschiwald
f4e7cde1b5
Core/Misc:
...
- some simplifications in reputation calculation
- removed aura in SPELL_AURA_LINKED should depends on SpellDifficulty
- remove some unneeded variable declarations when it's already declared
- remove some hacks
- fix some warnings in Lfg stuff
- some codestyle changes
2012-12-19 12:55:51 +01:00
joschiwald
5c33c54054
Core/Player: correct SetHomebind and cleanup Spell::EffectBind
2012-12-08 23:46:16 +01:00
joschiwald
de96841579
Scripts/Ulduar: convert all script_texts to creature_text from this zone
2012-12-01 04:27:40 +01:00
joschiwald
32c4e30599
Scripts/Ulduar: cleanup Assembly of Iron
2012-11-30 21:37:46 +01:00
joschiwald
2a4ba49664
Core/Guilds: Fix bank money log after 58ec4e53 (due to bad opcode structure).
...
Closes #8432
2012-11-26 08:48:51 +01:00
joschiwald
e83c5d1a0f
Core/Conditions: use proper SpellCastResult instead of Notification when CONDITION_SOURCE_TYPE_SPELL fails
2012-11-24 02:45:48 +01:00
joschiwald
fe970b1c1e
DB/Conditions: Fix 'Foam Sword Attack' / 'Foam Sword Attack' targets
2012-08-27 19:56:07 +02:00
joschiwald
d07be0cf61
DB/Player: Fix draenei race spell 'Shadow Resistance'
2012-08-27 17:08:30 +02:00
joschiwald
f57531376b
DB/Conditions: Fix startup db errors
...
Closes #7334
2012-08-10 03:03:52 +01:00
joschiwald
af92a36e88
Core/Logging: Use config LogsDir to save log files (re-added)
2012-08-04 02:55:11 +01:00
joschiwald
8ab6d578ce
fix typos - i failed so hard :(
2012-06-08 22:25:33 +02:00
joschiwald
7e454b26ac
more updates
2012-06-03 02:35:00 +02:00
joschiwald
1bfd6605af
fix compile
2012-05-28 04:29:59 +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
joschiwald
4e354d6ca9
Core/Spells: fix damage mods from caster on target
2012-05-11 22:43:06 +02:00
joschiwald
1ddf039de8
Core/CreatureTextMgr: Fix crash in GetLocalizedChatString()
2012-03-10 20:21:27 +01:00
joschiwald
96a05600c4
Core/Commands: add command to reload locales_creature_text
2012-03-05 23:25:32 +01:00
joschiwald
7683297423
Core/CreatureTextMgr: Fix typo in LoadCreatureTextLocales()
2012-03-05 23:23:23 +01:00