aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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/Entities: moved PetAura handling to Player where it belongsariel-
2017-04-28Core/Scripts: remove OnDummyEffect hook/sOnDummyEffect ai hookariel-
- Duplicated logic never used, sometimes only ScriptMgr version was called, sometimes only AI - They only encourage bad scripting practices - You can still use OnSpellHit or a SpellScript
2017-04-28Core/Misc: camelize GetFaction/SetFaction properlyariel-
2017-04-27Core/Unit: revert 3ea46e57afccrs
After discussion we realized, ariel and me, that Creature and Unit IsMovementPreventedByCasting() have not the same checks (order matters)
2017-04-27Core/Unit: 229444b74a follow-upariel-
- IsFocusing is made virtual again, so there's no need to keep a duplicated function This reverts commit 5043639c563514c079ba6eb959dd4c1c555fa494.
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/Spell: move creature focusccrs
bellow the possible interruptions
2017-04-27Core/CreatureAI: b6b0353bff followupccrs
2017-04-27Core/Misc: 522f537048 followupccrs
2017-04-27Core/Petition: add missing increment on RemovePetitionsByOwnerAndType iterationccrs
2017-04-27Core/Spells: Corrected aura SPELL_AURA_MOD_CASTING_SPEED_NOT_STACK handling ↵xinef1
for auras with very high values (#19054)
2017-04-27Core/Misc: implemented petition manager (#19010)xinef1
- Implemented manager for petitions to perform all petition related tasks and synchronize data with database. - This kills ugly synchronous querys on packet handlers
2017-04-27Core/Player: don't check quest requirements against RewardNextQuestariel-
- This field is only used to propose a new quest to player after completion, shouldn't be used to condition current quest Closes #19515
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-26Core/AI: added a function to allow 0 damage attacks (sparring) depending on ↵ariel-
target
2017-04-25Core/Misc: Fix static analysis issuesjackpoz
2017-04-25Core/Scripts: Added a missing break in Illidan Stormrage scriptKeader
Thanks Jackpoz
2017-04-25Core/Misc: Fix static analysis issuesjackpoz
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/Quests: implemented MSG_QUEST_PUSH_RESULT notificationsariel-
- Allow to share already completed (but not rewarded) quests, restriction was unblizzlike thanks Cannix for the heads up
2017-04-24Core/Scripts: Fix a typo in Blood Prince CouncilKeader
Thanks ariel-
2017-04-24Various quest system fixes (seasonal quests, timed quests and more) (#18940)xinef1
- Unify quest status checking function, use dedicated function instead of direct map checks - Fixed seasonal quest chains and ability to complete the same quests rewarded in past - Update area dependent auras on quest status change (they often requires specific quest status) - Send all not stored quest rewards by mail - When casting quest reward spell, check if it is not self casted, if so - use player to cast this spell - Perform full db save on quest reward to prevent data desynchronization - Don't allow to fail completed timed quests, except for quests which are completed right from the start - Don't allow to share pooled quests, if they are not available in the current pool (eg sharing easy dalaran weeklies, stored at alt character) - Remove seasonal quest if rewarded quest is removed - Don't complete whole quest on AreaExplore event, check if there are no more requirements that should be fulfilled - Quests with flag QUEST_SPECIAL_FLAGS_PLAYER_KILL can be only credited in quest zone Closes #18913 Closes #11187 Closes #15279
2017-04-23Core/Movement: allow focused spells to not break movement if it's movement ↵ariel-
allowed spell - Core/Unit: made IsFocusing virtual Thanks to ccrs for suggestion
2017-04-23Core/Spell: don't make creature change orientation to 0 if channeling selfariel-
2017-04-23Core/Spell: define channels without movement interrupt flags as allowed moveariel-
- Remove script hacks no longer needed
2017-04-23Core/AI: prevent launching a new MoveChase if victim didn't changeariel-
Thanks ccrs for feedback :P
2017-04-23Core/Globals: check localeName on loadingariel-
2017-04-23Core/Misc: fix typoariel-
2017-04-24Core/Misc: Update locales_item and locales_item_set_names to simple systemChazy Chaz
2017-04-24Core/Misc: Update locales_quest to simple systemChazy Chaz
2017-04-24Core/Misc: Update locales_broadcast_text to simple systemChazy Chaz
2017-04-23[3.3.5] Core/Quest: always send the specified RewardNextQuest regardless of ↵Xyventh
eventual scripts (#19498) - Fixes certain situations in which the quest window would get stuck after completing a quest
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-22Build: Added support for boost 1.64ariel-
Build: Added 1.64 Boost version to FindBoost (cherry-picked from commit 5233caf0920689c7796f4147e5b7506343d707bb) Build: Fixed build with boost 1.64 (cherry-picked from commit a3dec5cb753410dba5c03c70343afd00b905e920)
2017-04-22Core/Spell: implement pvp trinket immunity against Judgement of Justiceariel-
By Riztazz, closes #19484
2017-04-22Core/Player: don't randomly change temporary spell statusariel-
- They shouldn't be saved in db - Prevented temporary spell removal after a save Closes #14373
2017-04-22Core/Spell: fix creature focus with channeled spellsariel-
- Remove one not needed ReleaseFocus, this is done at finish already
2017-04-21Revert "Core/Spell: don't set scaleAura for some special spells"ariel-
This reverts commit 1ca8434b365687dbd12ca232a615d126234eba5e. Closes #19472
2017-04-21Core/Spells: Refactor setting spell info corrections to report errors about ↵Shauren
spells that no longer exist cherry-picked from commit be1a7d36f31fe2722f0a61f1360f9a5c28ff97b2
2017-04-20Core/Unit: fix SPELL_AURA_MOD_DAMAGE_DONE damage calculation on non-melee ↵ariel-
schools for Keader :P
2017-04-18Core/Misc: Sync database schema with masterChazy Chaz
2017-04-17Update boss state load logicKrudor
Reset boss state to NOT_STARTED if state loads as FAIL
2017-04-15Core/Spell: register spell mod owner properly on spell castariel-
- This fixes pets and totems getting mods from owner
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-14Core/Unit: implement miss chance reduction for low level mobsariel-
Source: http://wow.gamepedia.com/index.php?title=Miss&oldid=1980141 > Level is not a factor except when attacking a mob level 9 or lower. Miss chance against a low-level mob is a percentage of normal equal to the mob’s level divided by 10.