Commit Graph

4819 Commits

Author SHA1 Message Date
Treeston
081eab3cf5 Core/Unit: UNIT_FLAG renames
[UNIT_FLAG_PLAYER_CONTROLLED -> UNIT_FLAG_POSSESSED]
[UNIT_FLAG_PVP_ATTACKABLE -> UNIT_FLAG_PLAYER_CONTROLLED]
Signed off by: Shauren, Warlockbugs.
2018-05-02 19:09:37 +02:00
Jorge Turrado Ferrero
f13de80834 Scripts/Ulduar: Fixed Vehicles when flame leviathan die(#21897) 2018-05-01 20:11:40 -03:00
Gildor
b5aeca6c93 Spells/Warlock: Corrected spell id of Shadow Ward (#21896) 2018-05-01 11:57:28 +02:00
ccrs
2a45418032 Core/Movement: move MoveSplineInit (#21857)
The number of edge cases in which weirdness is seen on "effect movements" will be kinda reduced, plus consistency, plus movementInform on custom movement spline initalizations.
2018-04-23 20:33:14 +02:00
Shauren
a5df77a9d6 Core/Transports: Force transport passengers into legacy spawn group
Ref #21641
2018-04-19 23:37:41 +02:00
ccrs
f9914caefc Core/Misc: movement header cleanup 2018-04-19 13:31:39 +02:00
Nitair
dc28889151 Scripts/Stratholme: Baroness Anastari rework (PR #21687) 2018-04-16 23:02:09 +02:00
vincent-michael
5f897589f9 Core/Spells: Fixed non pch build 2018-04-07 21:32:10 +02:00
Treeston
74defba5a7 Core/Movement: Fix a potential crash on newly created pets. Closes #21791. 2018-04-07 17:23:26 +02:00
Treeston
4fc9b2cc94 Scripts/Paladin: Fix Righteous Defense. Closes #21765. 2018-04-07 01:38:59 +02:00
Treeston
2a84562dc8 Core/Movement: Replace old TargetedMovementGenerator into ChaseMovementGenerator and FollowMovementGenerator, full rewrite for both.
- Chase to angle is now functional. Pets use this to chase behind the target. Closes #19925.
- Chase to arbitrary range interval works. Not used anywhere, but you can technically make hunter-like mobs.
- Pets now follow the hunter cleanly and without stutter stepping. Also fix some other things. Closes #8924.
2018-04-06 18:09:55 +02:00
ariel-
bcc7427fbc Core/Misc: whitespace/tab cleanup 2018-04-02 20:37:44 -03:00
Treeston
ebc96af6bb Core/Object: Bump hover delta handling on nearpoints downstack into GetNearPoint2D (from movement generators); functionality should be unchanged 2018-04-01 18:27:29 +02:00
Treeston
4692e10ca2 Core/Position: Refactor GetAngle -> GetAbsoluteAngle because code clarity is good. 2018-04-01 13:52:36 +02:00
DanVS
c2f1657988 [3.3.5] Scripts/Spells: handle auras on unequipping scripted items (#21643)
Ref: #20415
2018-03-31 09:13:33 -03:00
Keader
99993a7f62 Scripts/Magtheridon: Fixed Magtheridon inaccessible
Closes #21693
2018-03-26 16:24:46 -03:00
Mikhail Redko
7c5b69d18b Core/Creatures: implement CREATURE_FLAG_EXTRA_NO_SELL_VENDOR (#21642)
* Add CREATURE_FLAG_EXTRA_NO_SELL_VENDOR and use it for a single no-sell vendor in game (there are more of them in later expansions)
2018-03-21 10:05:17 +01:00
ariel-
f87da3a306 Scripts/ICC: use script searchers instead of saving list of creature pointers
Closes #21644
2018-03-19 14:59:26 -03:00
ariel-
6eb122792c Scripts/Spells: fix Seaforium Blast script crash
Closes #21663
2018-03-18 16:08:36 -03:00
ariel-
8e853a82cc Scripts/Kalimdor: fix crash with Gordunni Trap 2018-03-14 03:43:59 -03:00
Treeston
43491ba7f4 Scripts/Naxxramas: Fix an issue that could cause Sapphiron to stop using Drain 2018-03-11 13:05:41 +01:00
sirikfoll
e7e46b2a82 Scripts/Spells: Quest King of the Mountain
Added missing jump jets and battle standard visuals
Added allowed area conditions for the vehicle
Fixed Jumpbot's attack spell (thanks @keader for fixing the proc)
2018-03-10 13:31:49 -03:00
ariel-
1a2c6f6545 Scripts/Spells: fix Hypothermia 2018-03-10 03:55:35 -03:00
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