aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-02-25Core/Scripts: Thrusting Hodir's Spearariel-
- Everything is sniffed, enjoy this hell of a quest! Closes #12808
2017-02-24Core/Unit: Correct speed calculus when affected by ↵Gustavo
SPELL_AURA_MOD_MINIMUM_SPEED (#18136)
2017-02-23Core/Scripts: kill a warningariel-
2017-02-23Core/Scripts: Victory Rush and Rune Strike proc correctionariel-
(d0f760420a671bc255c0d3ebec75e6837507a541 follow up) Closes #19192
2017-02-23Core/Conditions: CONDITION_SOURCE_TYPE_QUEST_ACCEPT should not prevent ↵ariel-
completed question mark from showing (#18151 follow up) Closes #19188
2017-02-23Core/Players: fix 2 Seal of Righteousness spells on paladinsariel-
Closes #14239
2017-02-23Core/Entities: Fix null-dereference crashariel-
Closes #19191
2017-02-22Core/Scripts: remove no longer needed scripts, use db attribute for ↵ariel-
disabling procs (e7ccd8ea3fccad92af3553f544aad49be5d1a9ed followup) - Fix some broken procs after c0cb823a91d4e3e71e4b7d76375c9e8667740cef Closes #19068
2017-02-22Core/Spell: fix Glyph of Devastate interaction with Glyph of Sunder Armorariel-
- Killed existing ModStackAmount hack, spell is always casted in sniffs (twice with Glyph of Devastate) Closes #14633
2017-02-22Core/Scripts: Fixed Illidan epic sounds again (#19184)Keader
2017-02-22Core/Spells: refactor spell_enchant_proc_data tableariel-
- Renamed fields to mimic those in spell_proc - Added Enchant proc attributes for controlling specific enchant features Ref #7789
2017-02-21Core/Scripts: fix Nightfall proc chance and reduce it for victims with level ↵ariel-
above 60 Closes #15734
2017-02-22Core/Creature: Fix SetSpawnHealth so it cooperates with the colossal hack ↵treeston
that is Battleground::AddCreature. *puke*
2017-02-21Core/Spells: fix Hand of Justice proc chance and reduce it past level 60.ariel-
Ref #7789
2017-02-21Kill whitespaceariel-
2017-02-21Core/Packets: readd incorrectly removed lineariel-
Closes #19180
2017-02-21Core/Misc Remove Tabs and Whitespaces (#19179)Gustavo
2017-02-21Core/ItemTemplate: remove excedent #includesariel-
2017-02-21Core/Packet: convert query packets into new system.ariel-
- Extra c++11-ification of existing code - Refs #18637
2017-02-20Core/Misc: changed WorldPacket pointers to constariel-
- Packet update sync with master
2017-02-20Store cached static data queries, instead of building them in every query ↵xinef1
opcode (#18637) - Added config option to enable / disable cache - Reinitialize data on reload command use - Always send WDB fields in item query
2017-02-20Properly stop attacking after player leaves ffa area (like Gurubashi Arena) ↵xinef1
(#18952)
2017-02-20Core/Misc: moved WeaponAttackType definition to SharedDefines to avoid ↵ariel-
including Unit.h
2017-02-20Core/Stats: cache all item attack power (includes given by equip spells)ariel-
- Used for Predatory Strikes calc, it will now properly use all weapon attack power
2017-02-20Core/Scripts: Fixed epic sounds on Illidan Fight (#19172)Keader
Thanks Kittnz for notice <3
2017-02-19Script/GO: Alliance Bell, Horde Bell and Karazhan Bell will now send a bell ↵Kittnz
sound on the start of each hour. (#19145) * Script/GO: Alliance Bell, Horde Bell and Karazhan Bell will now send a bell sound on the start of each hour. How many times it rings depence on the hour. * fix little things from pr comments * Added OnGameEvent * Fix braces * almost finished * fix enum * Add gameobjects to the game event Fix override for InitializeAI * enum squash * remove braces * Rename 9999_99_99_99_world.sql to 2017_02_19_01_world.sql
2017-02-19DB/Creature: The instance_encounters extra flag ↵treeston
(CREATURE_FLAG_EXTRA_DUNGEON_BOSS) now properly propagates to all difficulty entries (not just difficulty 0). This lets us simplify IsDungeonBoss() on Creature (and move it to header). Closes #18824.
2017-02-19[Core/AH] Correctly check player can pay depositr00ty-tc
- Deposit amount wasn't correctly checked in the case of multiple items, player with insufficient funds could auctin more items than they should
2017-02-19Corrected points per level calculation for some spells (#19105)xinef1
2017-02-19Fixed setting and unsetting of m_spellModTakingSpell (#19116)xinef1
- A problem when a different spell tries to overwrite existing ModTakingSpell should no longer happen
2017-02-18Core/WorldSocket: Handle unhandled exceptionsjackpoz
Properly handle unhandled exceptions happening with malformed packets. Fix #19128
2017-02-17Core/SmartAI: Various fixes and extensions for smart scripts: (#18673)xinef1
- Possible crashes fixed - Memory leak fixed - Implemented checking of vehicle conditions - Extended eventphasemask to 12 bits (sql required to change DB field type) - SMART_EVENT_GOSSIP_HELLO - added possibility to detect for gameobject reportUse call - Renamed action SMART_ACTION_SET_FLY to SMART_ACTION_SET_DISABLE_GRAVITY (to reflect actual functionality) - Added targetsLimit to action SMART_ACTION_CAST and SMART_ACTION_INVOKER_CAST to limit max amount of targets (selected randomly) - Action SMART_ACTION_TALK corrected to always work as intended - Properly call GroupEventHappens in action SMART_ACTION_CALL_GROUPEVENTHAPPENS if invoker was charmed or owned by the player - Properly utilize followAngle in action SMART_ACTION_FOLLOW (db orientation should be in degrees), but keep backward compatibility - Added action SMART_ACTION_SET_CAN_FLY (119) 0/1 - Added action SMART_ACTION_REMOVE_AURAS_BY_TYPE (120) AuraType, can be used to exit vehicle for example - Added action SMART_ACTION_SET_SIGHT_DIST (121) sightDist - Added action SMART_ACTION_FLEE (122) fleeTime - Added action SMART_ACTION_ADD_THREAT (123) +threat, -threat - Added action SMART_ACTION_LOAD_EQUIPMENT (124) equipmentId - Added action SMART_ACTION_TRIGGER_RANDOM_TIMED_EVENT (125) minId, maxId - Added action SMART_ACTION_REMOVE_ALL_GAMEOBJECTS (126), removes all owned gameobjects - Added action SMART_ACTION_STOP_MOTION (127), stopMoving, movementExpired - Extended target SMART_TARGET_HOSTILE_SECOND_AGGRO with following parameters maxdist, playerOnly, powerType + 1 - Extended target SMART_TARGET_HOSTILE_LAST_AGGRO with following parameters maxdist, playerOnly, powerType + 1 - Extended target SMART_TARGET_HOSTILE_RANDOM with following parameters maxdist, playerOnly, powerType + 1 - Extended target SMART_TARGET_HOSTILE_RANDOM_NOT_TOP with following parameters maxdist, playerOnly, powerType + 1 - Extended target SMART_TARGET_THREAT_LIST with maxdist - Extended target SMART_TARGET_OWNER_OR_SUMMONER to be able to get charmer/owner of current owner - Added new target SMART_TARGET_FARTHEST with maxDist, playerOnly, isInLos restrictions - Added SpellHit hook to GameObjectAI and extended SmartGameObjectAI to call SMART_EVENT_SPELLHIT when gameobject is hit by spell - Call GameObjectAI Reset hook on gameobject respawn (for ex. to reset one time events in smart scripts) - Fixed some logic errors in code - SmartAI Escorts properly despawn escortee if no players are in range - Disable Evading while charming creature with SmartAI - Don't call SMART_EVENT_RESPAWN for dead units before they actually respawn - Don't call SMART_EVENT_RESPAWN for not spawned gameobjects - Properly call SMART_EVENT_RESPAWN for gameobject respawn - Allow action SMART_ACTION_SET_IN_COMBAT_WITH_ZONE to utilize targetlist - Allow action SMART_ACTION_CALL_FOR_HELP to utilize targetList - Allow action SMART_ACTION_SET_INVINCIBILITY_HP_LEVEL to utilize targetList - Allow action SMART_ACTION_SET_VISIBILITY to utilize targetList - Allow action SMART_ACTION_SET_ACTIVE to utilize targetList - Allow action SMART_ACTION_ATTACK_START to select random attack target instead of first on the list - Allow gameobjects to summon gameobjects with action SMART_ACTION_SUMMON_GO - Properly store action invokers for action SMART_ACTION_WP_START, if no player invokers are found, distance despawn check won't be used - Allow action SMART_ACTION_WP_RESUME to compensate for the state the unit actually is in (eg. combat) - Allow action SMART_ACTION_MOVE_TO_POS to select random of the avaiable targets, not only the first one. - Allow action SMART_ACTION_MOVE_TO_POS to utilize x, y, z parameters as an offset to calculated coordinates - Action SMART_ACTION_RESPAWN_TARGET should never modify respawntime of already spawned gameobjects, use dedicated function - Properly delete ontime events created by SMART_ACTION_CREATE_TIMED_EVENT - If action could not be started because conditions were not satisfied, do not recalculate the waittime to action repeattime, use smaller value to recheck more frequently - Allow target SMART_TARGET_CLOSEST_PLAYER to be used by gameobjects - Allow target SMART_TARGET_OWNER_OR_SUMMONER to be used by gameobjects - Fixed SMART_EVENT_COUNTER_SET to be only called for the id that was incremented - Changed the way counters work - Protect PhaseInc from surpassing maximum phase - Added loading checks for missing NON_REPEATABLE flag if no repeatmin, repeatmax is set - Added spell validation for SMART_ACTION_CROSS_CAST
2017-02-17Reverting: Game/Scripting: Add OnGameEvent hook for game objects.Kittnz
2017-02-17Fix tabsKittnz
2017-02-17Game/Scripting: Add OnGameEvent hook for game objects.Kittnz
Called when specific game event starts
2017-02-17Update MapScripts.cppAokromes
2017-02-15Update ObjectMgr.hAokromes
2017-02-15Update ObjectMgr.hAokromes
2017-02-14Core/Creatures: Remove template immunities only for hunter pets (#19100)xinef1
2017-02-13Core/Spells: Fixed some item ranged spells dealing wrong damage (#19104)xinef1
2017-02-13Added some missing SetFallInformation calls (#19121)xinef1
Fixed HP drop bug on zeppelins Fixed possible packet relocation problems on huge transports
2017-02-13Core/Misc: Fixed player corpse looting, added player corpse loot and some ↵xinef1
more (#19122) * Fixed corpse looting in wintergrasp Added corpse loot for wintergrasp quests and To the Looter Go the Spoils (1166) achievement Don't generate money for loot if no loot mode is available Simplified few things
2017-02-12Core/Scripts Update boss Skadi the Ruthless (#19114)Gustavo
2017-02-11Core/Misc: Fix static analysis issuesjackpoz
2017-02-11Core/Auras: Clamlette Magnifique mana regeneration (#19083)Afgann
- adding drink aura to AuraEffect::UpdatePeriodic(Unit* caster) - making Clamlette Magnifique regenerate mana as well as hp Closes #19075
2017-02-10Core/Auras: Allow passive auras from items to stackShauren
(cherry picked from commit 8453d7dae25823dd5d2ecf2b718a469c0553214c)
2017-02-09Core/Scripts Rework boss Terestian Illhoof (Karazhan) (#19057)Gustavo
2017-02-09Build fix and codestyleKeader
2017-02-09Core/Scripts: Moorabi encounter updated. (#19013)Afgann
2017-02-09Merge pull request #18827 from Treeston/3.3.5-bossrespawnTreeston