code/__DEFINES/magic.dm
SCHOOL_UNSET | Unset / default / "not actually magic" school. |
---|---|
SCHOOL_HOLY | Holy school (chaplain magic) |
SCHOOL_MIME | Mime... school? Mime magic. It counts |
SCHOOL_RESTORATION | Restoration school, which is mostly healing stuff |
SCHOOL_EVOCATION | Evocation school, usually involves killing or destroy stuff, usually out of thin air |
SCHOOL_TRANSMUTATION | School of transforming stuff into other stuff |
SCHOOL_TRANSLOCATION | School of transolcation, usually movement spells |
SCHOOL_CONJURATION | Conjuration spells summon items / mobs / etc somehow |
SCHOOL_NECROMANCY | Necromancy spells, usually involves soul / evil / bad stuff |
SCHOOL_FORBIDDEN | Other forbidden magics, such as heretic spells |
INVOCATION_NONE | Allows being able to cast the spell without saying or doing anything. |
INVOCATION_SHOUT | Forces the wizard to shout the invocation to cast the spell. |
INVOCATION_WHISPER | Forces the wizard to whisper the invocation to cast the spell. |
INVOCATION_EMOTE | Forces the wizard to emote to cast the spell. |
SPELL_REQUIRES_WIZARD_GARB | Whether the spell requires wizard clothes to cast. |
SPELL_REQUIRES_HUMAN | Whether the spell can only be cast by humans (mob type, not species). SPELL_REQUIRES_WIZARD_GARB comes with this flag implied, as carbons and below can't wear clothes. |
SPELL_CASTABLE_AS_BRAIN | Whether the spell can be cast by mobs who are brains / mmis. When applying, bear in mind most spells will not function for brains out of the box. |
SPELL_CASTABLE_WHILE_PHASED | Whether the spell can be cast while phased, such as blood crawling, ethereal jaunting or using rod form. |
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. |
SPELL_REQUIRES_OFF_CENTCOM | Whether the spell can be cast on the centcom z level. |
SPELL_REQUIRES_MIND | Whether the spell must be cast by someone with a mind datum. |
SPELL_REQUIRES_MIME_VOW | Whether the spell requires the caster have a mime vow (mindless mobs will succeed this check regardless). |
SPELL_CASTABLE_WITHOUT_INVOCATION | Whether the spell can be cast, even if the caster is unable to speak the invocation (effectively making the invocation flavor, instead of required). |
TELEPORT_SPELL_SKIP_SPACE | Whether the teleport spell skips over space turfs |
TELEPORT_SPELL_SKIP_DENSE | Whether the teleport spell skips over dense turfs |
TELEPORT_SPELL_SKIP_BLOCKED | Whether the teleport spell skips over blocked turfs |
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) |
Define Details
INVOCATION_EMOTE
Forces the wizard to emote to cast the spell.
INVOCATION_NONE
Allows being able to cast the spell without saying or doing anything.
INVOCATION_SHOUT
Forces the wizard to shout the invocation to cast the spell.
INVOCATION_WHISPER
Forces the wizard to whisper the invocation to cast the spell.
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)
SCHOOL_CONJURATION
Conjuration spells summon items / mobs / etc somehow
SCHOOL_EVOCATION
Evocation school, usually involves killing or destroy stuff, usually out of thin air
SCHOOL_FORBIDDEN
Other forbidden magics, such as heretic spells
SCHOOL_HOLY
Holy school (chaplain magic)
SCHOOL_MIME
Mime... school? Mime magic. It counts
SCHOOL_NECROMANCY
Necromancy spells, usually involves soul / evil / bad stuff
SCHOOL_RESTORATION
Restoration school, which is mostly healing stuff
SCHOOL_TRANSLOCATION
School of transolcation, usually movement spells
SCHOOL_TRANSMUTATION
School of transforming stuff into other stuff
SCHOOL_UNSET
Unset / default / "not actually magic" school.
SPELL_CASTABLE_AS_BRAIN
Whether the spell can be cast by mobs who are brains / mmis. When applying, bear in mind most spells will not function for brains out of the box.
SPELL_CASTABLE_WHILE_PHASED
Whether the spell can be cast while phased, such as blood crawling, ethereal jaunting or using rod form.
SPELL_CASTABLE_WITHOUT_INVOCATION
Whether the spell can be cast, even if the caster is unable to speak the invocation (effectively making the invocation flavor, instead of required).
SPELL_REQUIRES_HUMAN
Whether the spell can only be cast by humans (mob type, not species). SPELL_REQUIRES_WIZARD_GARB comes with this flag implied, as carbons and below can't wear clothes.
SPELL_REQUIRES_MIME_VOW
Whether the spell requires the caster have a mime vow (mindless mobs will succeed this check regardless).
SPELL_REQUIRES_MIND
Whether the spell must be cast by someone with a mind datum.
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.
SPELL_REQUIRES_OFF_CENTCOM
Whether the spell can be cast on the centcom z level.
SPELL_REQUIRES_WIZARD_GARB
Whether the spell requires wizard clothes to cast.
TELEPORT_SPELL_SKIP_BLOCKED
Whether the teleport spell skips over blocked turfs
TELEPORT_SPELL_SKIP_DENSE
Whether the teleport spell skips over dense turfs
TELEPORT_SPELL_SKIP_SPACE
Whether the teleport spell skips over space turfs