aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-01-14Core/Auras: fix static analysis issuesariel-
CID 1384433 CID 1384436
2018-01-14Core/Unit: fix mess-up with CalcArmorReducedDamage parameter orderariel-
2018-01-14Core/Unit: fix typoariel-
2018-01-14Core/Entities: implement secondary damage for some weapons and removal of ↵ariel-
old voodoo - Fixed correct Retaliation damage spell according to sniffs is 20240 - CalcArmorReducedDamage insisted on dealing a minimum of 1 damage even if damage was 0 - CalculateDamage was zero-phobic too: it defaulted to arbitrary max 5 damage Closes #19081
2018-01-13Core/Unit: allow miss chance to exceed 60% cap with certain aurasariel-
2018-01-13Core/Unit: fix Sanctified Wrath (again)ariel-
- Actually only rank 1 was affected because of 50% reduction on rank 2
2018-01-13Core/Unit: fixed crashariel-
Closes #21231
2018-01-13Core/Unit: simplified and arranged spell bonus calculationariel-
- Remove duplicated SPELLMOD_BONUS_MULTIPLIER handling (both on done and taken) - Handle properly bonus data, don't apply bonus by default, only player spells should take into account spell power - Moved Earthliving Weapon coefficient to DB - Refactored Avenging Wrath handling Closes #13287 Closes #21230
2018-01-13Core/Scripts: fix Sanctified Wrathariel-
2018-01-13Core/Spell: SpellValueOverrides encapsulationariel-
- No sense to let scripts use SpellValueOverrides, we already have modifiers in CastSpellExtraArgs struct
2018-01-13Core: fix non pch build, reduxariel-
2018-01-13fix non pchKittnz
2018-01-13Scripts/EasternKingdoms: implement Children of Goldshire event (#20745)Kittnz
* Script: Implement Childeren of Goldshire Notes: Need to update waypoints and default location of the childeren http://wowwiki.wikia.com/wiki/Children_of_Goldshire
2018-01-13Core: Fixed non pch buildvincent-michael
2018-01-13Core/Auras: removed caster dependency from coreariel-
- Decoupled Unit logic: split of spell critical chance into done (caster bonuses) and taken (target bonuses), this allows to precalculate caster bonuses on aura apply and then check victim's auras on damage/healing calc - Made static a bunch of methods (they no longer have this pointer because they are now called from periodic handlers which may or may not have an active caster in world) - Simplified all AuraEffect bonuses into AuraEffect::_amount, no more duplicated code - Critical chance and whether or not caster is player owned unit (for resilience calcs) is now saved one level upper, on Aura itself (it's impossible as of 3.3.5 to have different effects with different critical chances) - Minor cleanup of SPELL_DAMAGE_CLASS_NONE and Arcane Potency (#18813) crit handling Closes #19876
2018-01-12Core/SAI: Add a 5th parameter to SAI eventsjackpoz
2018-01-12Scripts/Outland: Implement Hellfire event in Honor Hold (#21110)Kittnz
* Script/Outland: Implement Hellfire event in Honor Hold This is hourly, event is only 60 seconds long.
2018-01-12Core/Misc: kill whitespaceariel-
2018-01-11Core/Pools: Fixed spawning in pools with both explicitly and equally chanced ↵lachtanek
entries (#21170)
2018-01-10Core/Unit: Abide UNIT_FLAG2_DISABLE_TURN on creatures. Add that flag to ↵Treeston
Kologarn (from sniff). Hi sirikfoll.
2018-01-093dcd49e v2, slightly cheaperTreeston
2018-01-09Core/Threat: fix a potential super edge case iterator invalidationTreeston
2018-01-09Scripts/World: New target dummy AI, because I don't trust the existing one ↵Treeston
in light of #21187.
2018-01-09nopch fixTreeston
2018-01-09missing returnTreeston
2018-01-09Scripts/Commands: New command: .debug threatinfoTreeston
2018-01-08Core/Movement: Correct the allowed distance to target before a repositioning ↵Chaouki Dhib
is necessary. #20173 Also getting rid of the wordserveur config parameter 'TargetPosRecalculateRange' since it is no longer needed.
2018-01-08nopch build fixShauren
2018-01-08Core/Spells: Defined and implemented some new spell attributes (#18950)xinef1
2018-01-07Core/Spells: Fixed Shapeshift using macroKeader
Close #21197 Author: lineagedr
2018-01-08Core/Creature: improve DB linked_respawn handling (#21172)kelno
* Fixed SetCreatureLinkedRespawn function possible erasing/replacing a GameObject link (instead of a creature one)
2018-01-079ad11e6 follow-up, prevent Halion respawn without lootTreeston
tagging #21198
2018-01-07typo fixTreeston
2018-01-07Core/Threat: Fix a potential exploit allowing players to damage a boss ↵Treeston
without them taking damage. Scripts/Halion: General cleanup of old hacks no longer needed under new combat system.
2018-01-07Core/Map: New Map::ForceRespawn to override objections and force a respawn ↵Treeston
(equivalent to force = true). Use this to fix various GM commands. Scripts/Valithria: Fix an issue that could get the encounter stuck in an unloaded state.
2018-01-07Core/Spells: Mana potions in druid forms (#21160)DanVS
* Fix mana potions in druid forms
2018-01-06Core/Threat: only send periodic threat list updates while unit is engagedTreeston
2018-01-06Revert "Scripts/Commands: Allow to use .tele in combat only to GMs"Treeston
This reverts commit 3ae5b72075925f896c53603c26b2aa0dd7708fbf - see discussion on commit.
2018-01-06Core/Misc: Added compatibility layer for boost 1.66 and future std:: ↵Shauren
networking stuff * Based on work done by @dimiandre in PR #21173 Closes #21171 Closes #21173 (cherry picked from commit dfd2660a85e4f0891c63009ee8425b2796586409)
2018-01-06Core/Networking: Activate single threaded optimization for io_service ↵Shauren
running in NetworkThread (cherry picked from commit 9711dd3f706a30d23f57b259765837b71292d09e)
2018-01-06Scripts/Commands: Allow to use .tele in combat only to GMsjackpoz
Allow to use .tele in combat only to players who can be GMs (even if they have .gm off)
2018-01-06Core/Combat: Some more sanity check asserts to try and track down #21187.Treeston
Also, some anti-annoyance treatment for dot tele.
2018-01-06Core/Combat: some more detailed assertions to possibly shed light on #21187.Treeston
2018-01-04Core/Map: Fix a crash that could happen if a player moved very far away from ↵Treeston
a creature they were in combat with. Closes #21177.
2018-01-04MovementInform should overridesMoein
2018-01-04Core/Misc: A variety of clean-up changes, mostly following up on 532ab1c to ↵Treeston
fix legacy bugs exposed by it: - Triggers can no longer have a threat list (this may expose some ugliness in old legacy scripts) - Threat entries are forced to OFFLINE if the AI refuses to attack the target - Clean up passive creature evade behavior to be more consistent - Fix a months old issue in spawn group management that would cause "Inactive" to incorrectly show in .list respawns for system groups outside of map 0 - Valithria script cleanups, remove old hacks and make it work with the new system. Closes #21174. - Some strings cleanup
2018-01-03Core/Spells: fix casting NO_TARGET event spellsariel-
Closes #19978
2018-01-03nopch fixesTreeston
2018-01-03Core: Combat/threat system rewrite (PR #19930)Treeston
- PvE combat is now always mutual. UNIT_FLAG_IN_COMBAT is backed by actual references to the units we're in combat with. - PvP combat is now also tracked, and almost always mutual; spells like Vanish and Feign Death can break this rule. That means we can easily determine a list of players we're fighting. - By extension, IsInCombatWith now has sensible behavior when invoked on nonplayers. - Threat and combat systems are no longer the same. - They still have an enforced relationship (threat implies combat - clearing combat clears threat)... - ...but we can have combat without threat. A creature (with threat list) isn't considered to be engaged until it has an entry on its threat list... - ...which means we can now faithfully replicate retail engage behavior. Combat on projectile launch - engagement start on projectile impact. Yay for progress! - AI method refactor, as already ported in 6113b9d - `JustEngagedWith`, `JustEnteredCombat` and `JustExitedCombat`. - Vehicle threat is now properly pooled on the main vehicle body (fixes #16542). - Various edge case bug fixes for threat redirects (Misdirection "cancelling" Vigilance and similar). - Target re-selection is now significantly faster. - Fixed a ton of other smaller edge case bugs, probably. Closes #7951 and #19998.
2018-01-02missing overrideTreeston