1 package org
.sevenchan
.dongs
.creature
3 import org
.sevenchan
.dongs
.Ability
;
4 import org
.sevenchan
.dongs
.ability
.AbilityRegistry
;
5 import org
.sevenchan
.dongs
.bodyparts
.Eye
;
6 import org
.sevenchan
.dongs
.bodyparts
.Gender
;
7 import org
.sevenchan
.dongs
.Creature
;
9 * An ala or hala (plural: ale or hali) is a demon of bad weather recorded in
10 * the folklore of Bulgarians, Macedonians, and Serbs.
15 public class Ala
extends Creature
21 AbilityRegistry
.sandstorm
,
22 AbilityRegistry
.lightning
,
23 AbilityRegistry
.tornado
25 abilityUseProbability
= 1;
27 BodyPartRegistry
.eyes
.ghost_yellow
,
28 BodyPartRegistry
.eyes
.ghost_yellow
30 this._gender
= Gender
.ASEXUAL
;
34 override public function combatDescr
(subj
:Creature
):String
36 var text
:String = "<p>While bumbling about, the sky darkens as ominous clouds roll in.";
37 text
+= "You groan in frustration at the impending storm and begin to unpack your camp, ";
38 text
+= " when you remember that storms do not have gigantic, red eyes, and they generally ";
39 text
+= "do not form clouds at ground level, and they definately do not laugh evilly.</p>"
40 if (subj
.intellect
> 35)
41 text
+= "<p>You remember from your studies at home that this is an Ala, a weather demon. This experience, however, does NOT change the fact that it is hungry for blood and that you are completely fucked.</p>";
42 return gender
.doReplace
(text
);
45 override public function getTypeName
():String
50 override public function getHostile
(subj
:Creature
):Boolean
55 override public function getInterested
(subj
:Creature
):Boolean