aboutsummaryrefslogtreecommitdiff
path: root/src/bindings/scripts
AgeCommit message (Collapse)Author
2010-01-19*Integrate Script system to CoreRat
-added ScriptMgr for loading scripts -removed bindings -moved script system to src/game -moved scripts to src/scripts -VC project files updated -cmakes updated (not 100% done yet) NOTE to Devs: -file locations changed -precompiled renamed to ScriptedPch -ecsort_ai renamed to ScriptedEscortAI -follower_ai renamed to ScriptedFollowerAI -guard_ai renamed to ScriptedGuardAI -simple_ai renamed to ScriptedSimpleAI -sc_creature renamed to ScriptedCreature -sc_gossip renamed to ScriptedGossip -sc_instance renamed to ScriptedInstance *use the new headers in scripts, thank you NOTE to ALL: cmake not fully tested, please report any errors with it could make creashes, incompability USE AT YOUR OWN RISK before further tests!! --HG-- branch : trunk
2010-01-18Fix Vaelastrasz not giving quest.Trazom62
--HG-- branch : trunk
2010-01-18Fix Script Naxxramas/GothikTrazom62
- fix spell of adds - fix wave schedule to use correct entry --HG-- branch : trunk
2010-01-18Implemented script for item Petrov's Cluster Bombs, code from ScriptDev2._manuel_
--HG-- branch : trunk
2010-01-18Backout 8f186e3cc3 (Remove unnecesary checks)Spp
--HG-- branch : trunk
2010-01-18Gnomeregan: Now instance saves the event._manuel_
--HG-- branch : trunk
2010-01-17* Fix typo breaking Linux build...XTZGZoReX
--HG-- branch : trunk
2010-01-17* Fix CRLF...XTZGZoReX
--HG-- branch : trunk
2010-01-17Fix Script Naxxramas/Gothik with help of scarymovie87Trazom62
Fixes issue #80. - Implement support for "merging" life and dead side after ~2 minutes, if group is not splitted - Implement support for opening central gate at 30% boss health - Implement Gothik teleport between side when above 30% boss health - Fix dead-side mobs spawn in 25-Man difficulty - Fix waves setup. - Fix some timers (this may still need some tuning). - Fix sporadic combat reset when Gothic teleport to ground. --HG-- branch : trunk
2010-01-16Updated copyright for new year.n0n4m3
--HG-- branch : trunk
2010-01-16Dustwallow Marsh: Implemented basic support for quest "Cleansing Witch Hill" ↵_manuel_
(11183). --HG-- branch : trunk
2010-01-15Dustwallow Marsh: Implemented improvements in scripts to make quest "What's ↵_manuel_
Haunting Witch Hill?" more blizzlike. --HG-- branch : trunk
2010-01-15Fixes issue #214 : infinite loop in Maiden of Grief scriptTrazom62
--HG-- branch : trunk
2010-01-14* Remove UNIT_FLAG_OOC_NOT_ATTACKABLE from Zumrah when he enters combat.Brian
--HG-- branch : trunk
2010-01-14Fixed typo in FollowerAI._manuel_
--HG-- branch : trunk
2010-01-14Gnomeregan: Implemented Blastmaster Emi Shortfuse Event._manuel_
--HG-- branch : trunk
2010-01-13* Merge.XTZGZoReX
--HG-- branch : trunk
2010-01-13Backed out changeset: 52e769d95f14XTZGZoReX
--HG-- branch : trunk
2010-01-13Removed all my commits for today, this is hack? really? okeyn0n4m3
--HG-- branch : trunk
2010-01-13Fixed spell Snake Trap, port from tc1, thx Frankir.n0n4m3
--HG-- branch : trunk
2010-01-13Fix Gargoyle movement when flying awaythenecromancer
--HG-- branch : trunk
2010-01-13* Added GO script for Inconspicuous Landmark (142189) needed for quest 2882Brian
* Thanks manuel for the help! * Needs additional DB data for quest to work. --HG-- branch : trunk
2010-01-12* Fixed a small opps on the last commit with NPCHandlerBrian
* Fixed error in script boss_grand_champions (Thanks QAston) --HG-- branch : trunk
2010-01-12Fix normal10/normal25 raid detection in scripts.Trazom62
Replace HEROIC(n,h) macro by DUNGEON_MODE(n,h), RAID_MODE(n10,n25) and RAID_MODE(n10,n25,h10,h25) functions Cleanup all HeroicMode like flags in ScriptedAI sub-class Fix some missing virtual destructors --HG-- branch : trunk
2010-01-12Sholazar Basin: Core support for quest Crocolisk Mastery: The Ambush ._manuel_
--HG-- branch : trunk
2010-01-12Zul'Drak: Trying to fix some crashes._manuel_
--HG-- branch : trunk
2010-01-12*Make sure that any aura (in case of aura remove linked auras for example) ↵QAston
won't survive Unit::RemoveAllAuras. --HG-- branch : trunk
2010-01-10* Add support for base armor values in creature_classlevelstats.XTZGZoReX
* Change the table structure to be more core-friendly. * Remove armor field in creature_template and add Armor_mod field. * Also add static CreatureBaseStats::GetBaseStats() function for scripts. --HG-- branch : trunk
2010-01-10* Fix a mistake in boss_satharion script which gave players very usefull ↵QAston
auras... --HG-- branch : trunk
2010-01-10*removed not existing file from VC90 project fileRat
--HG-- branch : trunk
2010-01-10Borean Tundra: Improvements in lurgglbrAI by Kudlaty._manuel_
--HG-- branch : trunk
2010-01-10Fixed quest 11881 by Kudlaty._manuel_
--HG-- branch : trunk
2010-01-10Fix Naxxramas Gluth timers. Thanks scarymovie87Trazom62
Fixes #251 - Timers: * EVENT_ENRAGE : Start 15 sec, Repeat 15 sec * EVENT_SUMMON : Start 15 sec - Code style : Replace "return;"s with "break;"s in switch-case - Added comments for missing texts and hardcoded emote that should be done with a script text entry. --HG-- branch : trunk
2010-01-10*cleaned up SharedDefinesRat
--HG-- branch : trunk
2010-01-10*Correct code in npc_geezleAI which caused assertion fail.QAston
--HG-- branch : trunk
2010-01-10Update aura system:QAston
* Change system logic - unify Auras, AreaAuras and PersistentAreaAuras: * Aura has now its owner - which is the WorldObject, which applies aura (creates AuraApplication object) dependant on aura radius, and effect type * Owner can be Dynobj (DynObjAura class) for PersistentAreaAuras, or Unit (UnitAura class) for Area and nonArea auras * Aura data is shared for all units which have AuraApplication of the Aura * Because of that AuraEffect handlers , and periodic tick functions can't modify AuraEffect object (they are const now) * Remove spell source and AreaAuraEffect classes * Add AuraEffect::UpdatePeriodic function, to allow periodic aura object modification (target independant) * Add AuraEffect::CalculateAmount and AuraEffect::CalculateSpellMod function, to allow non-default amount calculation * AreaAura updates are done in owner _UpdateSpells cycle * Since now you don't need to wait an aura update cycle to get area aura applied on it's correct target list * And you can access area aura target list * Add basic support for aura amount recalculation * Save recalculation state and base amount of auras to db * Add AuraEffect::CalculatePeriodic function to determine if aura is periodic, and to set correct tick number after aura is loaded from db * Add ChangeAmount function in addition to SetAmount function, to allow easy reapplication of AuraEffect handlers on all targets * Sort aura effect handlers in SpellAuras.cpp and .h by their use * Add check for already existing aura of that type to some AuraEffect handlers, to prevent incorrect effect removal * SPELL_AURA_CONVERT_RUNE and MOD_POWER_REGEN and MOD_REGEN hacky handlers are now implemented correctly * Send aura application client update only once per unit update - prevent unnecesary packet spam * Fix ByteBuffer::appendPackGUID function - it added additionall 0s at the end of the packet * Fix memory leak at player creation (not deleted auras) * Updated some naming conventions (too many to mention) * Added Unit::GetAuraOfRankedSpell() function * Remove procflags on aura remove, use Aura::HandleAuraSpecificMods instead * Added functions to maintain owned auras (GetOwnedAuras, GetOwnedAura, RemoveOwnedAura, etc) * Implement AURA_INTERRUPT_FLAG_LANDING * Implement EffectPlayerNotification (thanks to Spp) * Remove wrong aura 304 handler * Add better handler for death runes * Remove unnecesary variables from DynamicObject class, and cleanup related code, link dynobj duration with aura * Add GetAuraEffectTriggerTarget function in CreatureAi for special target selection for periodic trigger auras used in a script * Add many assert() procection from idiots using some functions in wrong way * I am to lazy to write here anything more Thanks to Visagalis for testing this patch PS: Do not make patches like this, please --HG-- branch : trunk
2010-01-09Fix Drakarri Colossus: mojo stay passive only if colossus still aliveTrazom62
--HG-- branch : trunk
2010-01-09Fix Script: add missing initialization. Fixes #216Trazom62
--HG-- branch : trunk
2010-01-09*Fix Drakarri Colossus event not startingTrazom62
- didn't started if the colossus was spawn after the mojo - avoid hard-coded coord --HG-- branch : trunk
2010-01-08* Fix some more cases where movement flags were +'d together, instead of |'d.XTZGZoReX
--HG-- branch : trunk
2010-01-08Fixed typos in scripts from Trial of the Champion. Thanks to Spp._manuel_
--HG-- branch : trunk
2010-01-07Deadmines: Implemented Mr.Smite chest event._manuel_
--HG-- branch : trunk
2010-01-06mergesilver1ce
--HG-- branch : trunk
2010-01-06fixed the bug that GetVmapHeight returns incorrect height on terrains(flying ↵silver1ce
units fall below map etc) also unlocked max ray lenght for getHeight, by default it's 10 yards --HG-- branch : trunk
2010-01-05Halls of Stone: Prevents Brann Bronzebeard stuck in combat._manuel_
--HG-- branch : trunk
2010-01-05uint8 does not allow to store values like 1000 and 2000. It is too small to ↵Astellar
do it. --HG-- branch : trunk
2010-01-04Shadowfang Keep: Implemented event after Boss Fenrus the Devourer death._manuel_
--HG-- branch : trunk
2010-01-04Zul'Farrak: Support for quest "The Spider Gold" q2936._manuel_
--HG-- branch : trunk
2010-01-03Blackfathom Deeps: Implemented Morridune event._manuel_
--HG-- branch : trunk
2010-01-03Fix GO crash in boss_arlokk script.p0wer
Remove irrelevant TODO comment. --HG-- branch : trunk