code/__DEFINES/magic_defines.dm
MAGIC_RESISTANCE | Default magic resistance that blocks normal magic (wizard, spells, magical staff projectiles) |
---|---|
MAGIC_RESISTANCE_MIND | Tinfoil hat magic resistance that blocks mental magic (telepathy / mind links, mind curses, abductors) |
MAGIC_RESISTANCE_HOLY | Holy magic resistance that blocks unholy magic (revenant, vampire, voice of god) |
SPELL_REQUIRES_NO_ANTIMAGIC | Whether the spell can be cast while the user has antimagic on them that corresponds to the spell's own antimagic flags. |
Define Details
MAGIC_RESISTANCE
Default magic resistance that blocks normal magic (wizard, spells, magical staff projectiles)
MAGIC_RESISTANCE_HOLY
Holy magic resistance that blocks unholy magic (revenant, vampire, voice of god)
MAGIC_RESISTANCE_MIND
Tinfoil hat magic resistance that blocks mental magic (telepathy / mind links, mind curses, abductors)
SPELL_REQUIRES_NO_ANTIMAGIC
Whether the spell can be cast while the user has antimagic on them that corresponds to the spell's own antimagic flags.