Commit Graph
100 Commits
Author SHA1 Message Date
joschiwald 00d5c59f5b Scripts/Arcatraz: cleanup InstanceScript to make it work with BossAI 2013-11-26 15:38:02 +01:00
joschiwald 3b8d38d3ea Scripts/Oculus: fix boss_varos::InitializeAI() 2013-11-25 00:00:19 +01:00
joschiwald 9a0bb93b33 Scripts: fix warning and cleanup npc_apprentice_mirveda 2013-11-24 21:49:51 +01:00
joschiwald 2c307aa67c Scripts/Oculus: cleanup a bit 2013-11-24 21:17:45 +01:00
joschiwald 82d4ed5615 Core/Movement: fix player fall under ground on teleport 2013-11-21 16:13:13 +01:00
joschiwald 0a2a552b5a Core/Transports: addition to f0c4d0ac05
Core/Players: fix logic in Player::SendInitWorldStates()
2013-11-21 14:02:13 +01:00
joschiwald b5181d378f Scripts/PoS: fix Tyrannus Overlord Brand thx @zwerg 2013-11-21 13:22:45 +01:00
joschiwald dd20290911 Scripts/ZulAman: fix exploit that player can fly until logout 2013-11-13 23:50:35 +01:00
joschiwald 0790138d73 Core. fix build and some codestyle changes 2013-11-13 23:32:38 +01:00
joschiwald f01fe074cc Merge pull request #11175 from MitchesD/sunwell
Scripts/SunwellPlateau: reworked InstanceScript and applied codestyle
2013-11-13 13:58:03 -08:00
joschiwald 186e0852d7 Fix non-pch build. 2013-10-14 17:13:27 +02:00
joschiwald 53167ea9a1 Fix build. 2013-10-14 17:04:55 +02:00
joschiwald 0bdeb12636 Scripts/Ahnkahet: Prince Taldaram rewritten to BossAI
Closes #10993
2013-10-14 16:46:03 +02:00
joschiwald 95cad03fa4 Scripts/HoR: fixed infinite spawn, added some missing spell target conditions and fixed codestyle
Closes #10754
2013-10-08 04:22:26 +02:00
joschiwald a0c637f52a Core/Scripts: added some OVERRIDEs 2013-09-25 16:37:43 +02:00
joschiwald 1887fa28a0 Merge pull request #10933 from MitchesD/SteamVault
Scripts/SteamVault: reworked InstanceScript
2013-09-25 07:13:35 -07:00
joschiwald 05e72b4906 Core/Achievements: Implemented ACHIEVEMENT_CRITERIA_TYPE_KILL_CREATURE_TYPE 2013-09-18 22:55:10 +02:00
joschiwald 77f90c1c67 Scripts/Halion: refixed Twilight Cutter
Scripts/Garfrost: fixed forge jump
2013-09-11 17:07:29 +02:00
joschiwald f66120060a Scripts/Spells: drop obsolete code 2013-09-07 01:21:36 +02:00
joschiwald e5af3e25f9 -.- 2013-09-06 21:18:07 +02:00
joschiwald 49e2ad73d2 Fixed build 2013-09-06 21:16:09 +02:00
joschiwald 9429251e2e Scripts/YoggSaron: fixed rewarding loot 2013-09-06 21:02:02 +02:00
joschiwald adef15cd0f Core/Spells: add an other condition to SpellInfo::NeedsToBeTriggeredByCaster to correct spells with are wrongly triggered by target instead of caster
- convert archavons rock shards to spellscript (now it works properly)
- add a spellscript for one spell that can't be corrected by this (and delete the sai hack, now i uses the correct spell)
2013-09-06 20:57:38 +02:00
joschiwald 7ef1f0738b Core/Battlegrounds/IoC: fix fortress teleport pads
(and replace a hack with an other hack)

Closes #5846
Closes #7993
Ref #8984
2013-09-05 00:59:22 +02:00
joschiwald 3722fcb850 Scripts/HoL/HoS: changed some bosses to optional, doors are always open 2013-09-02 18:12:33 +02:00
joschiwald 579f969d6a Scripts/HallsOfStone: reworked InstanceScript 2013-09-02 16:31:35 +02:00
joschiwald e526e14d7e Core/Scripts: fix build 2013-09-01 13:43:56 +02:00
joschiwald 5c5b78c77c Scripts/Ulduar: fix mark of the faceless and add missing door handling 2013-09-01 13:25:52 +02:00
joschiwald ae36ddefec Core/Scripts: add creature_text to pet mojo
Scripts/Karazhan/Moroes: cleanup a bit (should fixes mem leak)
2013-08-31 16:48:37 +02:00
joschiwald 76171984f1 Scripts/Spells: fix codestyle in 48783b8606 2013-08-29 03:08:08 +02:00
joschiwald 4fc292cee8 DB/Conditions: fix startup error 2013-08-28 18:59:27 +02:00
joschiwald f5f0e6439c Scripts/UtgardeKeep/Ingvar: remove hacks and fix warning 2013-08-28 17:11:14 +02:00
joschiwald 1f34284828 Scripts/UtgardeKeep: reworked InstanceScript and cleanup some boss script 2013-08-27 23:50:40 +02:00
joschiwald 2aa944caee Scripts/Auchindoun: add missing InstanceScripts and cleanup some boss scripts 2013-08-26 18:52:29 +02:00
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