Fix hair, dick around with new game screen.
[18plus-7leafadventure.git] / src / org / sevenchan / dongs / ability / Spore.as
blobca4360a62f3ad4b64e7c492949bf0d2156509950
1 package org.sevenchan.dongs.ability
3 import org.sevenchan.dongs.enchantment.Paralyze;
4 import org.sevenchan.dongs.screens.InfoScreen;
5 import org.sevenchan.dongs.Ability;
6 import org.sevenchan.dongs.Creature;
8 /**
9 * ...
10 * @author Harbinger
12 public class Spore extends Ability
15 public function Spore()
17 this.manaCost = 15;
18 this.description = "Paralyzes your ass.";
19 this.label = "Spore";
20 this.name = "Spore";
21 this.cannotBeRestrainedToUse = false;
24 override public function activate(activator:Creature, rapee:Creature):Boolean
26 if (rapee.hasEnchantment("paralyze"))
27 return false;
28 InfoScreen.push("<h2>Spore</h2><p>The Morel releases a cloud of spores from the cap on its head. Surprised, you inhale the spores, coughing a bit. Feeling lightheaded, you slump to the ground, paralyzed.</p>");
29 rapee.addEnchantment(new Paralyze());
30 return true;