1 package org
.sevenchan
.dongs
.ability
3 import org
.sevenchan
.dongs
.*;
4 import org
.sevenchan
.dongs
.creature
.Ala
;
5 import org
.sevenchan
.dongs
.creature
.Player
;
6 import org
.sevenchan
.dongs
.screens
.InfoScreen
;
11 public class Lightning
extends Ability
14 public function Lightning
()
16 this.description
= "Because the attack damage algorithm is fucked.";
17 this.label
= "Lightning";
18 this.name
= "Lightning";
21 override public function activate
(activator
:Creature
, rapee
:Creature
):Boolean
24 InfoScreen
.push
("<h2>Lightning</h2><p>The Ala roars and a bolt of lightning streaks out of the sky and hits you. One moment you're staring incredulously at the massive teeth of the Ala, the next you're flat on your ass and your scalp is on fire.</p>");
25 if(activator
is Player
)
26 InfoScreen
.push
("<h2>Lightning</h2><p>You raise your hands to the sky, and dark clouds immediately form, darkening the blaster landscape. The clouds flicker with internal electrical discharges, and then, suddenly, a bolt slams into your opponent's head, causing significant damage. The shockwave caused by the hot air expanding suddenly causes even more.</p>");
27 rapee
.HP
-= rapee
.HP
/rapee
.level
;