aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
AgeCommit message (Collapse)Author
2010-09-07Script: Fix crash in boss_tharon_ja.Trazom62
Fixes issue #3356. --HG-- branch : trunk
2010-09-07Core/Script/Item: fix urand range in Six Demon Bag.Trazom62
--HG-- branch : trunk
2010-09-06Core: Fix some warningsSpp
--HG-- branch : trunk
2010-09-05Buildsystem/Scripts: Include examples as part of compilation (forgot that ↵click
they are referenced in the ScriptLoader) --HG-- branch : trunk
2010-09-05BuildSystem/ALL: Remove unused custom code (most are duplicated as in examples)click
+ remove fileglobbing for scripts (less error-prone) + Create proper lists per "scriptsection" NOTE! This change requires new files (cpp/h) to be MANUALLY ADDED to <type>/CmakeLists.txt --HG-- branch : trunk
2010-09-05Scripts/Forge of Souls: Bronjahm should only cast Spirit Bolts if tank is ↵Shauren
not within melee range during phase 1, patch by Ottowayne Closes issue #3657. --HG-- branch : trunk
2010-09-05Cleanup: Some typo fixes, closes issue 3798, thanks tru.bazoozoo and LopinShocker
--HG-- branch : trunk
2010-09-05Scripts/Texts:azazel
* fix script texts in various locations (thanks TerrorBringer for the heads up). Closes issue #2055. Closes issue #3087. * cleanup world_script_texts.sql file (remove spaces, order entries) Scripts/Misc: * remove obsolete random seed initialization from scripts * fix some warnings in scripts * some cleanup in chat_log.cpp --HG-- branch : trunk
2010-09-04Core/ScriptSystem: Refactor ScriptMgr::OnPlayerChat to no longer accept a ↵silinoron
C-style parameter of type void*. Instead, use overloaded methods for the different types. --HG-- branch : trunk
2010-09-02Core/Players: Don't set instanceId to 0 when player is on transport during ↵Shauren
loading, there CAN be transports inside instances Core/Scripts: Added waypoint id to OnRelocate transport hook Core/Scripts: Make use of ZoneScript::GetGameObjectEntry at gameobject creation (makes it possible to override gameobject entries in instances) Core/Transports: Call InstanceScript::EventInform for transport events Core/Transports: Use guid from db for transports, not just its entry - adds partial support for instancing them (still cannot use transports table for it, but can spawn manually now) Scripts/Icecrown Citadel: Fixed crash in Deathbringer Saurfang when event is started by more than one person (can't do this anymore) Closes isssue #3749. --HG-- branch : trunk
2010-09-04Scripts/Ulduar: Ulduar TeleporterSupabad
- add check for formation grounds thanks to silentstormpt - fix gossip for ulduar teleporter --HG-- branch : trunk
2010-09-04Spell Scripts:azazel
* moved some generic spell dummy effects to scripts * implemented two spell scripts for quests: 8913 Sacred Cleansing (Quest 55), 44936 Quest - Fel Siphon Dummy (Quest 11515). Closes issue #3040 * did some cleanup in spell scripts and added more comments --HG-- branch : trunk
2010-09-03Fix snake's HP for hunter's Snake TrapShocker
--HG-- branch : trunk
2010-09-01Scripts/Blackrock Depths: fix spectral chalice spawning for quest with the ↵azazel
same name (thanks niksad8). Closes issue #3086. Closes issue #2989. --HG-- branch : trunk
2010-08-31Small fix to Chimera Shot Serpent dmg and Scorpid CD.John Holiver
Thanks to Arcane. --HG-- branch : trunk
2010-08-30Scripts/Icecrown Citadel: Added Festergut script, thx Cromash for providing ↵Shauren
the base and Cyrax for sniffs Scripts/Icecrown Citadel: Added Professor Putricide script handling ONLY Festergut related events --HG-- branch : trunk
2010-08-31Scripts/Icecrown Citadel: Remove Mark of the Fallen Champion when Saurfang diesShauren
Scripts/Icecrown Citadel: Change previous scripts to use BossAI instead of ScriptedAI --HG-- branch : trunk
2010-08-31Core/Scripts: Revert revision 619ba8b76250 and fix it properlyShauren
--HG-- branch : trunk
2010-08-31Better way to fix some warnings from rev 621c100eeb.Spp
--HG-- branch : trunk
2010-08-31Core: Fix more warnings (very few left under linux 32)Spp
--HG-- branch : trunk
2010-08-30Core: Fix more warningsSpp
--HG-- branch : trunk
2010-08-30Core: Fix more warningsSpp
--HG-- branch : trunk
2010-08-29Spell Scripts:azazel
* add new file spell_item.cpp for spells used by items (but not by quests) * move some dummy effects of generic spells to scripts * implement spell for quest 12937 Relief for the Fallen. Closes issue #3070 --HG-- branch : trunk
2010-08-29Fixes gossip scripts or points of interests of npc's with a Scriptname ↵Liberate
assigned to them. This fixes guards in Major cities. Thanks to Aokromes for testing. Thanks to click for converting all the scripts to work with this change. --HG-- branch : trunk
2010-08-28Buildsystem: Update CMakeLists to use the proper check, not the old one...click
--HG-- branch : trunk
2010-08-27Scripts/Icecrown Citadel: Added hacky workaround for teleporting spells ↵Shauren
because their default target is not supported by current grid system Scripts/Icecrown Citadel: Mark Gunship event as complete on Lady Deathwhisper's death (temporary, until transport system will fully allow scripting the event) --HG-- branch : trunk
2010-08-26Scripts/Icecrown Citadel: Added Teleporter scriptShauren
Scripts/Icecrown Citadel: Implemented achievements for Deathbringer Saurfang --HG-- branch : trunk
2010-08-26*Fix usage of EffectValueMultiplier in spell code.QAston
*Remove some obsolete code from spell class. *Rename some spellmod and dbc column names to be more accurate. --HG-- branch : trunk
2010-08-26Core/Scripts: Added possibility to disable default aura effects for the ↵Shauren
whole duration of aura (PreventDefaultAction works per script call, PreventDefaultEffect is global) Scripts/Icecrown Citadel: Corrected aura scripts for new PreventDefaultEffect, thx QAston for pointing it out SQL: Corrected name for 9599 vehicle accessory SQL: Fixed import errors in 9600_world_script_texts.sql by Supabad --HG-- branch : trunk rename : sql/updates/9599_vehicle_accessory.sql => sql/updates/9599_world_vehicle_accessory.sql
2010-08-21Scripts/Icecrown Citadel: Add script for Deathbringer Saurfang (only missing ↵Shauren
alliance outro due to need of spawning and moving a transport) Scripts/Icecrown Citadel: Corrected Lord Marrowgar, should no longer target tanks with Bone Spike Graveyard, his Coldflame should now spread properly Core/Scripts: Moved Lady Deathwhisper Mana Barrier handler to scripts Core/Scripts: Allow AuraScript to prevent default effects by effect index Core/Scripts: Added Is25ManRaid() method to ScriptedAI, obviously used to check if raid is 25man Core/Achievements: Pass m_caster to UpdateAchievementCriteria for ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET --HG-- branch : trunk
2010-08-26Core/scripts: proper core support for quest Trolls Is Gone CrazySupabad
--HG-- branch : trunk
2010-08-26Core/scripts: core support for escort Stinkys Escape!Supabad
Thanks to Kiper --HG-- branch : trunk
2010-08-26Scripts/ToCH: add missing scripts to loader. Thanks galax86@hotmail.it. ↵azazel
Closes issue #3617 --HG-- branch : trunk
2010-08-26Core/Cleanup:azazel
* move repeating code into separate method for storing locale strings in ObjectMgr (copy/paste sucks, you know) * fix 'signed/unsigned' warnings (at least in VS) * fix some other warnings and cleanup relative code --HG-- branch : trunk
2010-08-26Core/scripts: core support for escort Mark V is Alive!Supabad
Thanks to Schmoozerd from sd2 --HG-- branch : trunk
2010-08-26Scripts/Ulduar: More work on Flame Leviathan (still WIP)Supabad
- Add support for shutdown and repair events --HG-- branch : trunk
2010-08-26Core:azazel
* add helping methods for manipulating unit's health and use it where applicable * fix some conversion warnings and cleanup code (formatting, CRLF, tabs to spaces) --HG-- branch : trunk
2010-08-25* Add support for quest 1393 (Galen's Escape), original code by ↵Shocker
przemratajczak, port by McBitter, closes issue 3463 * Fix typo in AuctionHouseHandler, thanks GriffonHeart, fixes issue 3609 * Forgotten thanks --HG-- branch : trunk
2010-08-25* Fix a crash in Culling of StratholmeShocker
* Typo fix from previous rev --HG-- branch : trunk
2010-08-24Core: Fix more warningsSpp
--HG-- branch : trunk
2010-08-23Replace World::getConfig with World::getFloatConfig, World::getIntConfig, ↵silinoron
and World::getBoolConfig. Also fix a warning from a previous commit. --HG-- branch : trunk
2010-08-24*Add AuraScript class for scripting aura objects - scripts are registered ↵QAston
same way as SpellScripts, bound to SpellScriptNames table. For more details see example_spell.cpp and SpellScript.h *Rename SpellHandlerScript to SpellScriptLoader, EffectHandlerFn to SpellEffectFn, HitHandlerFn to SpellHitFn, SpellScript::EffectHandlers to SpellScript::OnEffect, these changes were neccesary to prevent namespace collisions, happily you can solve these by simple find and replace *Make spells 66244 and 5581 example scripts. --HG-- branch : trunk
2010-08-23Fix instance script for the Nexus.silinoron
Fixes issue #3572 Thanks seaofgreen@gmx.net --HG-- branch : trunk
2010-08-23Core:azazel
* add Player::HasEnoughMoney methods to check, whether player has specified amount of money and use new methods where applicable * fix some signed/unsigned warnings and some typos --HG-- branch : trunk
2010-08-23Core: Fix more warningsSpp
--HG-- branch : trunk
2010-08-22* Some consistency changes.silinoron
* Move spell 6962 to spell scripts and make sure to set deathstate. --HG-- branch : trunk
2010-08-22Core:azazel
* fix "warning C4305: 'initializing' : truncation from 'double' to 'float'" warnings * fix some other warnings here and there --HG-- branch : trunk
2010-08-22Core/Script/Spells: Trial of the CrusaderJohn Holiver
* Keep in mind that this is a WIP although is extremely playable as it is. * Known bugs are writen at the header of each file. * If u know how to correctly solve any of those bugs or found a new bug, please report and, if you may, provide a fix for us to review. * I'd like to thank all Trinity Community (in special, Shauren, QAston, Bio, Josh), rsa from SD2 for providing the base, all the ppl that helped me test and review so many many times. * I personally have been working on this code since TC was near rev 8000 so i will take a break from it to work on other stuff (specially cause most of the bugs i was unable to solve alone). * I'd like to strongly encourage others to provide the improvements that this instance need to become perfect. * FInally, this commit might have something missing... i'll recheck as soon as i wake up tomorrow morning. --HG-- branch : trunk
2010-08-22Scripts:azazel
* Fix crash in boss_morogrim_tidewalker script (thanks Toni.Shocker). Close issue #3531 * Small cleanup of code for boss_morogrim_tidewalker (used enum instead of defines, removed warnings and obsolete code) --HG-- branch : trunk
2010-08-21Core: Remove lots warnings:Spp
- All "'xxx' will be initialized after 'yyy' when initialized here" - Some "unused variable" - Some "enumeration value 'xxx' not handled in switch" --HG-- branch : trunk