public SpiritData Life.GetSpirit(int weaponSet)
Reads the Spirit budget for a one-based weapon set (1..3), without opening G. Throws when the resource is missing, invalid or changes owner during the read. Primarily intended for the local player; not all actors have Spirit resources.
SpiritDataA read-only snapshot of the player's Spirit budget for one weapon set.
Parameters
weaponSet- Parameter type:
intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Specifies weapon set.
Returns: The SpiritData result.