aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
AgeCommit message (Collapse)Author
2017-05-05Scripts/Commands: Update reload commands namesChazy Chaz
2017-05-04Core/Spells: Move Big Blizzard Bear implementation to spell script (#19544)Mikhail Redko
2017-05-02Core/Creature: drop method SetPositionccrs
eeeevil, use UpdatePosition. It was there just for old scripts compatibility.
2017-05-01Core/Misc: build fixesariel-
2017-05-01Core/Scripts: unified scripted gossip/quest apiariel-
- Changed self-accessor on GameObjectAI to "me", like UnitAI - Moved all related functions to AI, now Unit and GameObject have the same function names with identical behaviour - Remove "OnUpdate" from CreatureScript/GameObjectScript, was never used and we already have AI Update method - Quest methods no longer return a bool, the return value was used to call the AI version if the ScriptMgr one returned false - Implemented GameObjectAI::Destroyed hook (was never called), implemented Damaged method - Rename OnStateChanged to OnLootStateChanged to reflect when it's really called, and created a new hook OnStateChanged that only gets called on GOState change - Since the functions are now only getting called from AI, made GetAI methods full virtual. (CanSpawn method is anyways going to be used on creatures with AI)
2017-04-28Core/Misc: camelize GetFaction/SetFaction properlyariel-
2017-04-27Core/Misc: cleanup SetInFront usesccrs
Set in front modifies only the serverside orientation, use with care. Also check for current focus to prevent things like incorrect damage on casting creatures (ie dragon breath direction change in your face because of some taunt missclick)
2017-04-27Core/Unit: 2170541a51 followupccrs
use true as default value since pretty much all the script calls will expect that
2017-04-27Core/Scripts: Re-hack Boss Loken. Followup ↵Keader
3a0cb90ea994e82dd8c70888fb847082f738d5dc Loken still need ClearUnitState Hack to DoMeleeAttackifReady work
2017-04-27Core/CreatureAI: b6b0353bff followupccrs
2017-04-26Core/AI: some tweaks on boundary functionality:ariel-
- Moved SetBoundary to public scope to allow for greater flexibility (ie set from external script) - Extended to allow checking inverted boundaries
2017-04-25Core/Scripts: Added a missing break in Illidan Stormrage scriptKeader
Thanks Jackpoz
2017-04-25Core/Scripts: fix gaseous bloat proc (again)ariel-
- UNIT_STATE_CASTING removal not needed for movement now, but it's needed for melee attacking
2017-04-24Core/Scripts: Fix a typo in Blood Prince CouncilKeader
Thanks ariel-
2017-04-23Core/Spell: define channels without movement interrupt flags as allowed moveariel-
- Remove script hacks no longer needed
2017-04-23Core/Scripts: Willix the Importer - $n in aggro texttkrokli
* In the existing core script, Willix the Importer in Razorfen Kraul says "Help! Get this $n off of me!" (showing the $n part in his SAY text) instead of naming the attacker when using his 'SAY_AGGRO1' creature_text. * With this commit change, unit target is no longer missing for Talk, making Willix name the attacking unit when he shouts for help.
2017-04-18Core/Misc: Sync database schema with masterChazy Chaz
2017-04-15Core/Scripts: fix dereferencing invalid iteratorariel-
Closes #19464
2017-04-15Fix non-PCH build.Gacko
Even on 3.3.5. What's PCH for?
2017-04-09Core/Misc: fix static analysis issuesariel-
CID 1373466 CID 1373481 CID 1373482
2017-04-09Core/Scripts: Baltharus the Warborn preincrement _cloneCountKeader
2017-04-03Core/Scripts: Baltharus the Warborn make clone count more readableKeader
*Also fixed issue that make Baltharus summons alot of clones when he is casting
2017-04-03Core/Scripts: fix Judgement of Wisdom mana returnariel-
Closes #19400
2017-04-02Core/Scripts: Fixing Carbonion/TravisKeader
2017-04-02Core/Scripts: Fixed Baltharus the Warborn clonesKeader
*Clones not working after wipe *Changed Clone Action for a event (to check casting)
2017-04-01Core/Scripts: Typo in last commitKeader
2017-04-01Core/Scripts: Fixed Volatile Ooze/Gas Cloud issues in Professor PutricideKeader
Closes #18925
2017-03-29Scripts: minimize duplicated enum names in header files (#19377)tkrokli
* Scripts: Minimize duplicated enum names in header files This reduces the number of cache resets with the Zapcc compiler - Standard followed is instance/raid TLA + DataTypes/CreaturesIds/etc - Partial cherry-pick of master commit 7eb4512eee5fc04994e2aa55126ccc97a8393506 - Removed unused defines in sunken_temple.h (the core scripts using these have been moved to SAI)
2017-03-28Core/AI: Build fixariel-
- Stop exposing DoublePosition constructor versions, they're only used for internal representation - Moved IsInBounds function to public scope
2017-03-28Core/AI: AreaBoundary refactorariel-
- Added an auxiliary function IsInBounds to base CreatureAI - Changed container to vector. Set had no sense because we're storing new pointers, they have different addresses even if the boundary is the same
2017-03-27Added new creature extra flag which makes npc visible only to dead unitsxinef1
closes #19333 * Rename 9999_99_99_99_world.sql to 2017_99_99_99_world_335.sql - file affects creature removed in patch 4.0.3a * Update Creature.cpp
2017-03-26Core/Scripts: implemented enchant Blade Wardingariel-
2017-03-25Core/Movement: 96f4c7c followupccrs
2017-03-24Core/Scripts: minor fixes in boss_the_lich_king (#19311)Gustavo
Closes #4427 Closes #7091
2017-03-23Core/Scripts: Updated Ulduar instance modelariel-
- Codestyle/indent fixes - Added ObjectData for some GOs - Added GetUlduarAI to creatures - Fixed possible out-of-bounds access in boss_razorscale_controllerAI (boss AI number beyond allocated boss size)
2017-03-23Core/Spells: fix wrong distance calculations in AoE spells [Needs testing] ↵Chaouki Dhib
(#16290) Core/Spells: Fix wrong distance calculations in AoE spells. Pull request #16290 by chaodhib. God bless, finally.
2017-03-21Core/Misc: cache server MOTD and properly format it for RA and when issuing ↵ariel-
.server motd
2017-03-20Core/Scripts: Fixed wrong calculation of Aura of DesireKeader
Closes #19322
2017-03-20Core/Scripts: Updated Zul'Aman instance modelariel-
- Codestyle/indent fixes - Use of DoorData and ObjectData - Added GetZulamanAI for creatures - Moved bosses to BossAI
2017-03-17Core/Players: Rename "heroic character" to "death knight"Chazy Chaz
Closes #19287
2017-03-14Core/Scripts: add condition check for npc_wyrmrest_defenderariel-
minor code refactors Closes #19299
2017-03-13Core/Scripts: implement boss Apothecary Hummel ("Love is in the Air" event ↵Gustavo
boss) (#19076) Closes #5114
2017-03-08Core/Scripts: Fixed Ingvar evade issueKeader
2017-03-07Core/Scripts: converted Argent Tournament pennants to AIariel-
Closes #14616
2017-03-06Core/Unit: reduce differences between branchesShauren
Very partial cherry pick of: Core/Units: Updated melee/spell hit chance calculation (cherry picked from commit 61c7161a1069f93948b8b4d80b501d9358b4844c)
2017-03-05Core/Scripts: fix Glyph of Siphon Lifeariel-
by Keader
2017-03-03Core/Scripts: implement Hammer of the Righteous stacking Seal of ↵ariel-
Vengeance/Corruption - Patch 3.2.0 Notes: Only auto-attacks and Hammer of the Righteous can place the debuff on the paladin's current target(s). Closes #19239
2017-03-01Ensure that all actions are compared to fixed point in time (ie. world ↵xinef1
update start) (#18910) - Actions will not be dependent on processing moment - Increased GameObjects cooldown resolution to milliseconds, fixes arming time of traps to be exactly one second and not something from range (1000, 1999) - Created GameTime namespace and UpdateTime class and moved there some code out of world
2017-03-01Core/Scripts: Change null-check to assertariel-
- ToPlayer() should never be null in this context
2017-03-01Core/Scripts: Fixed crash in SindragosaKeader
Closes #19227