f31d3ec432
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.
hondacrx
2021-08-09 11:38:27 -04:00
1f72103d78
Core/Creature: Add another aggressive compatibility mode assertion to catch faulty dynspawn code.
hondacrx
2021-08-09 11:36:10 -04:00
06fe13fbab
Core/VMap: Add outdoor state to Map::GetFullTerrainStatusForPosition. Add WorldObject::IsOutdoors, basic member access.
hondacrx
2021-08-09 11:33:30 -04:00
37fd6936fd
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.
hondacrx
2021-08-09 10:27:17 -04:00
d6dd7acd28
Core/GameObject: implemented gameobject_overrides table to change faction and flags values on a per-spawn basis
hondacrx
2021-08-09 10:24:32 -04:00
7cc0221447
Core/Entities: kill unused return value from Unit::HandleSpellClick
hondacrx
2021-08-09 10:05:13 -04:00
a2628af13a
Core/Auras: check conditions against referer caster, just as spells do
hondacrx
2021-08-09 10:00:05 -04:00
08db42917e
Core/SmartScripts: Rename SMART_ACTION_RESPAWN_TARGET -> SMART_ACTION_ENABLE_TEMP_GOBJ, since that's the only thing it still does in the dynspawn model. Adjust body accordingly to warn on misuse.
hondacrx
2021-08-09 09:57:11 -04:00
f2ff234456
Core/GameObject: Force compatibility mode for stupid ridiculous junk legacy hack gameobjects
hondacrx
2021-08-09 09:50:32 -04:00
2b2698ea3c
Core/GameObject: fix stupid ridiculous junk legacy hack code with negative gobj respawn time to work again
hondacrx
2021-08-09 09:49:14 -04:00
8e758048ae
Core/Scripts: remove hack that caused aura to not be applied and saved twice on owned auras, causing an error on save
hondacrx
2021-08-09 09:48:05 -04:00
06a189e5e6
AI/SmartAI: New SMART_ACTION_RESPAWN_BY_SPAWNID
hondacrx
2021-08-09 09:47:23 -04:00
85ffed189f
Core/Spawning: Actually check spawn group state before processing a respawn. It feels like that is something that should've been noticed at some point.
hondacrx
2021-08-09 09:37:36 -04:00
bfd44a494d
Core/Auras: restrict target map update only to area auras as player requires to have auras registered on load
hondacrx
2021-08-09 09:25:37 -04:00
7501866e11
Core/Unit: clear charmed/possessed state before returning client control. Works like a charm
hondacrx
2021-08-09 09:24:38 -04:00
da5eb28902
Core/Entities: remove grid-wide visibility from setActive and implement another method for it
hondacrx
2021-08-08 23:31:06 -04:00
dac2b45ab8
Partial: Core/Entities: Reduce the probability of units dropping under the map
hondacrx
2021-08-08 23:16:19 -04:00
7ffe2ee299
Core/Spells: Use caster as chat source in Spell::EffectSendChatMessage
hondacrx
2021-08-08 14:57:54 -04:00
18d873e1ee
Core/Battlegrounds: Remove duplicate info from GroupQueueInfo
hondacrx
2021-08-08 14:57:15 -04:00
ab6bd1e71f
Core/Units: Fixed crash in Unit::CalcArmorReducedDamage when called from periodic aura tick if caster is no longer in world
hondacrx
2021-08-08 14:47:17 -04:00
cc192de659
Some missed changes.
hondacrx
2021-06-30 23:36:22 -04:00
c168c6b145
Fixes one crash
hondacrx
2021-06-28 20:14:20 -04:00
5cebe678e0
Fixes quests no longer working after loggin out and back in, we never loaded the saved quest objective status.
hondacrx
2021-06-28 13:50:59 -04:00
b834ebed9a
Fixed some creatures not hitting, and also a divide by 0 crash when trying to hit them.
hondacrx
2021-06-25 13:50:21 -04:00
345a2974ea
Fixes so errors
hondacrx
2021-06-25 10:40:44 -04:00
229ee1b497
Core/AuctionHouse: Fixed paying for commodities
hondacrx
2021-06-24 11:16:14 -04:00
1d9e839bc9
Core/Auras: remove obsolete check that was preventing some auras to proc even if they met conditions otherwise
hondacrx
2021-06-23 23:51:38 -04:00
515ae6ed12
Core/SAI: Add an action_param3 to "summon gob" to control when the object will despawn
hondacrx
2021-06-23 23:50:55 -04:00
eefb63647d
Core/Spells: prevent creatures to focus channeled spells without SPELL_ATTR1_CHANNEL_TRACK_TARGET
hondacrx
2021-06-23 23:43:18 -04:00
545dcd4f7a
Core/Combat: Unify combat permitted checks between CvC and PvC - only require "not friendly" in all cases. Fixes Yogg-Saron encounter.
hondacrx
2021-06-23 23:37:42 -04:00
d485bf97ec
Scripts/SmartAI: SetData now has an invoker (if the setting is done by something using SmartAI).
hondacrx
2021-06-23 23:36:38 -04:00
f56b1c6886
Core/Scripts: Add bossId in state error log.
hondacrx
2021-06-23 23:25:08 -04:00
5bbd708070
Core/Auras: make area and dynauras condition compliant by using the spellarea searcher instead of script searchers
hondacrx
2021-06-23 23:23:48 -04:00
fdd904225c
Core/Handlers: fix bogus check that skipped CMSG_CAST_SPELL packet under certain conditions, missing a target change
hondacrx
2021-06-23 23:15:10 -04:00
237b583e64
Core/Spells: fixed server being too overzealous with autoshot
hondacrx
2021-06-23 23:13:05 -04:00
751d397031
Entities/GO: Add forceRespawnTimer support to DespawnOrUnsummon. Use it in SAI.
hondacrx
2021-06-23 23:09:48 -04:00
05c8b7adec
Entities/GO: GameObjects now support (delayed) despawning in a reasonable manner.
hondacrx
2021-06-23 22:58:03 -04:00
d12ae8cde2
oops, now it builds (and a bonus refactor that annoyed me)
hondacrx
2021-06-23 22:51:38 -04:00
4206c48aaa
Scripts/SmartAI: Forward invoker to invoked action list actions. Also JustAppeared -> InitializeAI.
hondacrx
2021-06-23 22:48:37 -04:00
fc49a98dab
Scripts/SmartAI: SMART_TARGET_INVOKER cleanup step 1. The core will now log errors on start-up if SMART_TARGET_INVOKER abuse is found, but will continue to load the scripts as deprecated for now.
hondacrx
2021-06-23 22:41:44 -04:00
de6b8b0240
Core/Spell: Properly remove REACT_PASSIVE on permanent feign death unapply.
hondacrx
2021-06-23 22:33:07 -04:00
9e23ca4b04
Core/Spells: calculate crit chance only for spells that do damage/healing
hondacrx
2021-06-23 22:06:49 -04:00
89586e9495
Core/AI: EscortAI init logic moved from JustAppeared to InitializeAI. There are no escort NPCs using compatibility mode anymore, so this is equivalent.
hondacrx
2021-06-23 18:03:42 -04:00
65173c19cb
AI/SmartAI: Remove a silly incorrect piece of code that was breaking react state swaps on SAI creatures.
hondacrx
2021-06-23 15:31:17 -04:00
51a6d72fd4
Spell/Script: Torch 52953 and 58121 must hit only one target
hondacrx
2021-06-23 15:30:08 -04:00
d6f8baae30
Scripts/Pets: Mirror Image re-write, because it's a colossal mess right now.
hondacrx
2021-06-23 15:27:54 -04:00
7cbfcf9949
Combat/Threat: Now set engaged state for all units on offline reference registration (vanished/invis'd units). For non-PASSIVE units, this will immediately cause an evade.
hondacrx
2021-06-23 15:14:51 -04:00