benilla-re systems structs docs

CGUnit_C::TestNodeOutdoors

function · objectlayer · orchestration

Address
0x612cc0 · 11 bytes, up to 0x612cca
Signature
uint8_t __thiscall (CGUnit_C *this)
Meaning
Jumps to 0x6706f0 with the object's world node +0xe0 as the entity
Confidence
verified, proof one
Finding
spell/castgates#indoors-and-outdoors-rungs

Finding: Indoors and outdoors rungs in spell: castgates

A spell with Attributes bit 14 (0x4000) or 15 (0x8000) asks one question, once: 0x612cc0, the outdoors test of the caster's world node (terrain/world#entity-outdoors-test). An outdoors answer (al nonzero) refuses bit 14 with 0x52, SPELL_FAILED_ONLY_INDOORS. An indoors answer refuses bit 15 with 0x4b, SPELL_FAILED_NO_MOUNTS_ALLOWED, when one of the three effects applies aura 78, mounted (Effect 6), else with 0x55, SPELL_FAILED_ONLY_OUTDOORS. A spell with both bits is refused on either answer; with neither the question is not asked. An item cast takes the rungs too. They follow the stealth, combat, caster aura state and reputation rungs and precede the taming rung.

The derivation is in the doc.

Callers 1

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.