Commit Graph

13189 Commits

Author SHA1 Message Date
ariel-
0c2a6dee07 Core/Spell: fix spell visual for other players
- Ported SMSG_SPELL_GO and SMSG_SPELL_START to new packet system
2018-03-10 03:55:14 -03:00
ariel-
4ca9d6469d Core/Spells: register and apply individual aura effects on hit handler
- Remove area aura processing from spell system, they're fully handled by aura owner update now

Closes #21577
2018-03-10 00:58:48 -03:00
ariel-
d46f36f773 Core/Spells: tweak 'neutral' spell positivity
- Fixes Mind Control dummy self aura appearing as a debuff
2018-03-10 00:57:19 -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-
334fcbf40f Core/AI: nopch continued 2018-03-09 15:36:20 -03:00
ariel-
4669267633 Core/Auras: nopch reloaded 2018-03-09 15:22:29 -03:00
ariel-
8dc91cf0fa Core/Auras: yet another nopch 2018-03-09 15:16:18 -03:00
ariel-
4527995b66 Core/Misc: another nopch 2018-03-09 15:12:02 -03:00
ariel-
86e20f66b2 Core/Spells: more nopch 2018-03-09 15:03:56 -03:00
ariel-
ecea2d6265 Core/Auras: nopch fixes 2018-03-09 14:49:44 -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
ariel-
9b38a6352c Core/Spells: rework part 2: Split up target selection logic
Target check only determines what kind of entities we can target, spell positivity determines if that entity is valid for attack/assist

Closes #8844
2018-03-09 14:41:28 -03:00
ariel-
efeae33495 Core/Spells: rework part 1: Improved positive detection logic 2018-03-09 14:41:28 -03:00
Shauren
7452074829 Core/Creatures: Fixed flying creatures using MOVEMENTFLAG_CAN_FLY 2018-03-09 00:38:20 +01: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
Shauren
2baa81065b Core/Movement: Fixed creature hover
Closes #15177
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
Gooyeth
92b8a870bf Core/Player: Do not remove auras from Gamemasters in arenas (#21568) 2018-03-08 15:00:23 +01:00
ariel-
34c3962b09 Core/Conditions: validate object types when conditioning implicit spell targets with CONDITION_OBJECT_ENTRY_GUID
Closes #21569
2018-03-07 23:30:39 -03: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
Jeremy
367db4e1d6 Core/Maps: Fixed outdoors check (#21551) 2018-03-03 22:00:41 +01:00
ariel-
ad796318e8 Core/Spells: explicitly disable non proccing auras when generating default procs
Closes #21529
2018-03-02 02:57:23 -03:00
ariel-
2d10429a2d Core/Auras: remove too strict checks in area auras, since a few aren't owned by its caster
Closes #21528
2018-03-02 02:56:55 -03:00
ariel-
0a249bda43 Core/Misc: fix bad dbc data for lock 'Locked ball and chain'
Closes #12260
2018-03-02 01:28:51 -03:00
ariel-
1904016ce0 Core/Auras: travis fix 2018-03-01 23:27:45 -03:00
ariel-
23808fe349 Core/Auras: fixed SPELL_AURA_MOD_HIT_CHANCE honoring stack rules in all cases
Updates #21367
2018-03-01 23:18:49 -03:00
ariel-
54e8418886 Core/Auras: added sanity checks for area auras having a different owner unit than caster
Closes #21517
2018-03-01 20:38:07 -03:00
Chaouki Dhib
0fb133013c Core/Movement: Correct distance checking
Distance checking should always be in 3D, independently on if the mover has the ability to fly or not.
2018-02-28 13:40:41 +01:00
Treeston
9fc6b13027 Core/Creature: Temporarily let Creatures violate dynspawn assumptions for pooled creatures. This should fix startup crashes until I can investigate and find a long-term fix. Tag #21519. 2018-02-27 22:10:36 +01:00
Treeston
3eab2d7efc Core/Creature: Add another aggressive compatibility mode assertion to catch faulty dynspawn code. 2018-02-27 16:18:38 +01:00
ariel-
c9b730c767 Core/Globals: use proper type for smallint 2018-02-26 16:13:03 -03:00
Treeston
ec916db294 Core/VMap: Use fuzzy equality and gridmap tolerance for floor-finding. Closes #21338. Supersedes #21479. 2018-02-26 18:11:29 +01: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
Treeston
71b5ed6832 Core/Threat: Fix taunt logic relying on unspecified behavior by unordered boost heap iterators. Use ordered iterators instead, this is cheap for our use case anyway. This will make taunt behave consistently again.
Closes #21499.
2018-02-26 00:10:21 +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-
02739c2cbb Core/GameObject: kill uninitialized, unused field from GameObjectTemplateAddon struct 2018-02-24 19:33:46 -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
Treeston
bb04fbcbe8 Core/Log: Clean up some log output to include spawnId instead of lowguid. 2018-02-24 19:46:27 +01:00
jackpoz
16b5f39de6 Core/DBUpdater: Code cleanup 2018-02-24 14:54:42 +01:00