ariel-
bd3530dd1f
Core/Spells: move m_preCastSpell logic to scripts
...
- Bad name because it was actaully executed after effects
2018-03-10 00:55:24 -03:00
ariel-
94333b734d
Core/Misc: nopch fixes, hopefully the last
2018-03-09 16:14:42 -03:00
ariel-
93eda20d5c
Core/Spells: Fix periodic rolling adding bonuses twice
...
Calculation is now done in CalculateAmount
2018-03-09 14:41:28 -03:00
ariel-
45c5e1b9d6
Core/Spells: rework part 5: GameObject casting
...
Closes #21330
Closes #18885
Ref #18752
2018-03-09 14:41:28 -03:00
ariel-
080d2c6cd4
Core/Spells: rework part 4: iterate over effects first
...
Ref #18395
Implement far spell queue processing
Closes #7395
2018-03-09 14:41:28 -03:00
ariel-
e8d5aa56cc
Core/Spells: rework part 3: spells only handle at most one UnitAura and one DynObjAura during its lifetime
...
Closes #15088
2018-03-09 14:41:28 -03:00
Shauren
241109327b
Core/Creatures: Remove hover on death
2018-03-08 23:13:51 +01:00
Shauren
592516ae69
Core/Creatures: Reworked setting move types in database
...
* Each move type has its own field instead of trying to combine everything in InhabitType
* Allow overriding movement separately for each spawn
2018-03-08 23:13:51 +01:00
joschiwald
e9aba10695
Scripts/Misc: Fixed hover movement for Stormcaller Brundir
2018-03-08 23:13:51 +01:00
Chaouki Dhib
510bc0b7a0
Scripts/Misc: Hover script fixes
2018-03-08 23:13:51 +01:00
Treeston
df639d85e4
Core/CreatureAI: CheckBoundary -> IsInBoundary, better reflects what it does. Also moved to public so spellscript can use it.
2018-03-08 18:41:46 +01:00
ariel-
0c1e485e13
Core/Entities: ghouls start with full energy
2018-03-07 04:19:06 -03:00
ariel-
6e0b9a7916
Core/Creatures: port power type updates from master branch
...
Core/Misc: Added helper function Unit::SetFullPower
Cherry-picked from 8199eef81c
Core/Creatures: Updated power type handling (#20981 )
Cherry-picked from 16a7a414ab
2018-03-07 03:34:45 -03:00
ariel-
68dde9f8c5
Scripts/Command: build fix for horrible outdated boost version used by travis
2018-03-07 00:56:22 -03:00
ariel-
180a0269ed
Scripts/Commands: Make Shauren happy
2018-03-06 19:12:16 -03:00
ariel-
d18f8b94b0
Scripts/Commands: implemented command .server debug
...
- Shows detailed information about server setup, useful when reporting a bug:
* rev. hash
* versions of mysql, openssl, boost, cmake
* info about autoupdater
* info about ports (realmlist and current)
* vmap/map/mmap status and folder sizes
* available DBC locales
* TDB version
Closes #19957
2018-03-06 18:48:57 -03:00
Treeston
e79c595b69
Core/VMap: Add outdoor state to Map::GetFullTerrainStatusForPosition. Add WorldObject::IsOutdoors, basic member access.
...
Ref #21479 .
2018-02-26 17:40:40 +01:00
ariel-
34967e9c32
Core/GameObject: implemented gameobject_overrides table to change faction and flags values on a per-spawn basis
...
Updates #20957
Closes #20958
2018-02-24 20:57:55 -03:00
ariel-
98d6258efd
Core/Entities: kill unused return value from Unit::HandleSpellClick
...
- AI hook will now receive the result by copy, as modifying it had no effect
- Some renaming: result->spellClickHandled, clickPair is actually clickBounds, the clickPair is the pair <creatureID, SpellClickInfo>
2018-02-24 15:52:09 -03:00
ariel-
1074a9b053
Core/Scripts: remove hack that caused aura to not be applied and saved twice on owned auras, causing an error on save
...
- This is handled by group stack rules actually
- Also reset removed aura counter when cleaning removed auras
Closes #21486
2018-02-23 13:16:42 -03:00
ariel-
3753ec5647
Core/Scripts: apply resilience on Vampiric Touch and Unstable Affliction dispel effect
...
- Spell with SPELL_ATTR4_FIXED_DAMAGE won't do it by itself to avoid applying resilience twice, but because those are triggered from a periodic aura, those apply resilience on tick, not saved to amount.
- This is one of the cases where you have to call Unit::SpellDamageBonusTaken directly
Closes #21393
2018-02-22 02:37:00 -03:00
Wilcalaf
2dd5735bd9
Scripts/Nexus: Fixed a rare bug when sometimes Magus telestra managed to die while invisible preventing players from looting. ( #21436 )
2018-02-17 23:02:58 -03:00
sirikfoll
076bd11002
Scripts/Icecrown Citadel: Prevent Lady Deathwhisper movement during first phase.
2018-02-17 20:11:37 -02:00
ariel-
a6673f6aa7
Core/Scripts: implement Drain Mana breaking some auras on hit
...
Updates #20234
2018-02-17 17:46:38 -03:00
Wyreth
56874b44f0
Core/Entities: remove grid-wide visibility from setActive and implement another method for it ( #20725 )
2018-02-17 15:09:54 +01:00
jackpoz
d3d0640a8d
Core/Misc: Fix static analysis issues
...
Fix static analysis issues reported by Coverity
2018-02-16 21:39:52 +01:00
ariel-
7dc78d8e3f
Core/Scripts: implemented Fungal Decay & Tail Sting
...
Refs #18542
2018-02-16 00:54:53 -03:00
ariel-
ab1aa8e384
Core/Scripts: fix Glyph of Renew interaction with Empowered Renew
...
- Get actual ticks from aura, because glyph reduces them by 1
2018-02-16 00:54:53 -03:00
Keader
f609589e22
Scripts/Ulduar: Fixed amount of Mole Machines in Razorscale 10 man
2018-02-16 00:03:40 -03:00
Treeston
789f3c5d37
Scripts/TotC: Reduce Twin Val'kyr berserk timer from 10 minutes to 8 minutes on normal mode (match DBM). This closes #15367 , no matter what ccrs' bong says.
2018-02-16 00:13:43 +01:00
ariel-
29f7258dc8
Core/Spells: prevent creatures to focus channeled spells without SPELL_ATTR1_CHANNEL_TRACK_TARGET
...
- Creatures stuck here wouldn't try attacking because of this
- Remove one workaround in halion script, now it's unneeded
Ref #11311
2018-02-15 17:50:15 -03:00
Gooyeth
42a11e97d5
Scripts/Commands: add AI/ScriptName to .gobject info (PR #21419 )
2018-02-15 16:11:28 +01:00
Treeston
4da9321d2b
Core/Combat: Unify combat permitted checks between CvC and PvC - only require "not friendly" in all cases. Fixes Yogg-Saron encounter. Closes #21380 .
...
Also some bonus cleanup to Yogg's script to make transition cleaner.
2018-02-15 12:23:05 +01:00
ariel-
1edd81f9d5
Core/Scripts: fix Healing Stream Totem coefficient and animation
2018-02-14 22:07:06 -03:00
Keader
63c436f5fb
Core/Scripts: Fixed some delayed enrage
...
Closes #15367
2018-02-14 17:32:29 -03:00
ariel-
a93d74c8df
Core/Scripts: fix nopch
2018-02-14 16:36:56 -03:00
ariel-
df5afca278
Core/Scripts: implemented Seed of Corruption scaling damage tolerance
2018-02-14 05:58:56 -03:00
ariel-
1826437c09
Core/Spells: implemented bonus SP coefficient from DBC
...
Ref #21415
2018-02-14 05:58:56 -03:00
Treeston
0e401c7d96
Scripts/TheBarrens: Fix "The Escape" (863) - I don't think this one ever worked, honestly.
2018-02-13 17:49:40 +01:00
Treeston
ac8b9be5d6
Core/Spell: Properly remove REACT_PASSIVE on permanent feign death unapply. Fixes and closes #21156 .
2018-02-13 15:47:44 +01:00
Treeston
fe3b4de1cd
Scripts/AzjolNerub: Clean up Hadronox to hopefully avoid any further evade issues. Tag #20310 .
2018-02-13 15:47:04 +01:00
ariel-
bc2a4c816d
Core/Scripts: fix Tenacity Aurascript (target is null on UpdatePeriodic)
...
- also aura amount increases with stack so we lose spellid info, calculate it from basepoints directly
- aura should be SPELL_AURA_MOD_HEALING_PCT instead of SPELL_AURA_MOD_HEALING_DONE_PERCENT (ie taken instead of done, confusing names)
2018-02-12 19:04:01 -03:00
ariel-
404240fb68
Core/Scripts: remove Tenacity hack, implemented with proper aura
2018-02-12 18:35:06 -03:00
Wilcalaf
0c1aaac219
Archaedas should properly start now when clicking on the altar. ( #21401 )
2018-02-12 21:38:08 +01:00
ariel-
4d14f613f3
Core/Unit: corrected calculation for SPELL_AURA_MOD_DAMAGE_TAKEN/SPELL_AURA_MOD_HEALING auras
...
- Spell bonus calculation and penalty was done twice, but it's simply flat +SP, which should be taken into account before other bonuses
- Fixed missing code from SpellDamageBonusDone/SpellHealingBonusDone and killed multiplication by stack amount twice for default coefficient spells (already multiplied on level penalty)
2018-02-12 16:52:59 -03:00
ariel-
3edf90d167
Core/Scripts: fix nopch build mk II
2018-02-12 00:51:36 -03:00
ariel-
490f807a42
Core/Scripts: fix nopch build
2018-02-12 00:47:14 -03:00
Treeston
f6bf9bc04d
Revert "Scripts/ScarletEnclave: fix Massacre at Light's Point mine cart escort to work again (tag #20310 )"
...
This reverts commit 6ff71dffbb .
2018-02-12 03:23:54 +01:00
Treeston
b243a7929b
Scripts/AzjolNerub: Hadronox is a big spider mommy, and needs more room to pet her spider pets properly. Hopefully this'll reduce the number of evades happening during the encounter. Tag #20310 .
2018-02-12 03:08:34 +01:00
Treeston
6ff71dffbb
Scripts/ScarletEnclave: fix Massacre at Light's Point mine cart escort to work again (tag #20310 )
2018-02-12 02:58:51 +01:00