Wind Guardian shit
[18plus-7leafadventure.git] / src / org / sevenchan / dongs / ability / Spore.as
blob6642e453d0df86a2f5f6a2da387dafdc1382e5b6
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 N3X15
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";
23 override public function activate(activator:Creature, rapee:Creature):Boolean
25 if (rapee.hasEnchantment("paralyze"))
26 return false;
27 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>");
28 rapee.addEnchantment(new Paralyze());
29 return true;