mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
22 lines
1.2 KiB
Plaintext
22 lines
1.2 KiB
Plaintext
//Brain damage spell. This unholy spell was removed but it returns with a vengence.
|
|
/spell/targeted/retard
|
|
name = "Brain Damage"
|
|
desc = "Give an unlucky person brain damage."
|
|
abbreviation = "BD"
|
|
user_type = USER_TYPE_SPELLBOOK //Whereas previously this was a normal spell, it is now found only in the ancient spellbook.
|
|
school = "evocation"
|
|
charge_max = 200 // 20 seconds
|
|
//Invocation is noted below
|
|
invocation_type = SpI_SHOUT //Wizard will shout what they say
|
|
range = 3 // Target anyone within 3 tiles of you
|
|
amt_dam_brain = 90 //90 brain damage
|
|
max_targets = 1 // Can only target one person
|
|
compatible_mobs = list(/mob/living/carbon/human, /mob/living/carbon/monkey) // Only works on humans and monkeys
|
|
spell_flags = WAIT_FOR_CLICK | IS_HARMFUL //Click on whoever you want to get brain damaged
|
|
message = "<span class='danger'>You feel dumber!<span>" //What the victim sees when affected
|
|
mind_affecting = 1 //Blocked by tinfoil hat
|
|
hud_state = "wiz_retard" //Icon is from screen_spells.dmi
|
|
|
|
/spell/targeted/retard/invocation()
|
|
invocation = pick("SCRUN GL RITY", "BLO XYG EVO", "SAI AN SCRE", "PO NY NEEI", "MIE NIA PICE", "LOL 2 CAT", "OK R TARD", "WO A MAMA", "CAP TIN CODOM")
|
|
..() |