Wind Guardian shit
[18plus-7leafadventure.git] / src / org / sevenchan / dongs / ability / Tornado.as
blob957c77c3b5c5dd1e90695a1aa58e25c03d731304
1 package org.sevenchan.dongs.ability
3 import org.sevenchan.dongs.Ability;
4 import org.sevenchan.dongs.Creature;
5 import org.sevenchan.dongs.screens.InfoScreen;
7 /**
8 * ...
9 * @author N3X15
11 public class Tornado extends Ability
14 public function Tornado()
16 this.manaCost = 75;
17 this.description = "Summons a tornado to return player to barn.";
18 this.label = "Tornado";
19 this.name = "Tornado";
22 override public function activate(activator:Creature, rapee:Creature):Boolean
24 var text:String = "<h2>Tornado</h2>";
25 text += "<p>The ghastly spirit's face splits in two as it bares its enormous, foot-long ";
26 text += "shark-like teeth. Strands of ethereal saliva bridge the gaps, and a foul odor ";
27 text += "slams into you like a train full of corpses.";
28 text += "You then realize, to your sheer horror, that the Ala is <i>smiling</i>. ";
29 text += "This revelation comes far too late, as a strong wind slams into you like a brick";
30 text += " wall. It picks up strength, and you have to brace your legs to keep your ";
31 text += "footing. Even that doesn’t hold on for long, however. You’re soon swept off ";
32 text += "your feet in a massive, black whirlwind. Deep, taunting laughter fills the ";
33 text += "wind as you’re carried away.</p>";
34 InfoScreen.push(text);
35 activator.mana = 0;
36 rapee.HP = 0;
37 return true;