mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-01 05:02:33 +00:00
* the rest of the fucking owl * OK hands need work but otherwise good * fuck time out fix vampire after * temporary codersprite do not merge this lmao * codersprite up * pause, time out * deploy the antimagic * Update code/__HELPERS/trait_helpers.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> * Update code/datums/status_effects/buffs.dm Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/game/gamemodes/wizard/magic_tarot.dm Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> --------- Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
17 lines
788 B
Plaintext
17 lines
788 B
Plaintext
// Bitflags for magic resistance types
|
|
/// Default magic resistance that blocks normal magic (wizard, spells, magical staff projectiles)
|
|
#define MAGIC_RESISTANCE (1<<0)
|
|
/// Tinfoil hat magic resistance that blocks mental magic (telepathy / mind links, mind curses, abductors)
|
|
#define MAGIC_RESISTANCE_MIND (1<<1)
|
|
/// Holy magic resistance that blocks unholy magic (revenant, vampire, voice of god)
|
|
#define MAGIC_RESISTANCE_HOLY (1<<2)
|
|
|
|
DEFINE_BITFIELD(antimagic_flags, list(
|
|
"MAGIC_RESISTANCE" = MAGIC_RESISTANCE,
|
|
"MAGIC_RESISTANCE_HOLY" = MAGIC_RESISTANCE_HOLY,
|
|
"MAGIC_RESISTANCE_MIND" = MAGIC_RESISTANCE_MIND,
|
|
))
|
|
|
|
/// Whether the spell can be cast while the user has antimagic on them that corresponds to the spell's own antimagic flags.
|
|
#define SPELL_REQUIRES_NO_ANTIMAGIC (1 << 0)
|