Initial commit (r9)
[18plus-7leafadventure.git] / src / org / sevenchan / dongs / ability / Instawin.as
blob69b6cd63c927dfe118d276f1a0c2ada3aa8f0d57
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 Instawin extends Ability
14 public function Instawin()
16 this.description = "Because the attack damage algoritm is fucked.";
17 this.label = "Instawin";
18 this.name = "Instant Win";
21 override public function activate(activator:Creature, rapee:Creature):Boolean
23 InfoScreen.push("<h2>Insta-win!</h2><p>You fucking cheat and win because N3X15 is too tired to fix the punch damage thing.</p>");
24 rapee.HP = 0;
25 return true;