mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
Ports of 4.3.4's item predicates. IsEquippedItemType runs the engine's inventory search over the equipment slots by equip location, item class or subclass name; the [equipped] macro condition now calls it instead of a Lua rebuild. IsCurrentItem reads the in-flight cast item that 1.12's IsCurrentAction checks. IsHelpfulItem / IsHarmfulItem classify the on-use spell with the IsHelpfulSpell / IsHarmfulSpell classifier. Shared: Item::Location::IDForArg (GetItemIDByName, was copied in three files) and Item::Location::Walk over FUN_INVMGR_WALK.