Fix hair, dick around with new game screen.
[18plus-7leafadventure.git] / src / org / sevenchan / dongs / weapons / IWeapon.as
blobdd2460fe39afc48a8466e10f99bbfd239ee4b977
1 package org.sevenchan.dongs.weapons
4 import org.sevenchan.dongs.bodyparts.IBodyPart;
5 import org.sevenchan.dongs.Creature;
6 import org.sevenchan.dongs.enchantment.Enchantment;
7 /**
8 * ...
9 * @author Harbinger
11 public interface IWeapon
13 function get name():String; // You grip excalibur, your heavily-worn black dildo, in your hands.
14 function get baseName():String; // dildo
15 function get enchancement():Enchantment; // enchanted?
16 function get description():String; // Other stuff
17 function get category():WeaponCategory; // sword (for storing or grouping)
18 function get baseDamage():Number; // small damage boosting thing. will be summed with other weapons.
19 function get wear():Number; // 0 to 1 wear. finalDamageBoost=baseDamage*(1-wear)
21 /**
22 * Retrieve a long description of the body part
24 * You have two human arms. You grip a heavily-worn black dildo in your hands.
25 * @param num
26 * @param host
27 * @return
29 function getDescr(num:Number,host:Creature,hostingBodyPart:IBodyPart):String;
30 function getShortDescr(withModifier:Boolean = false):String;
32 function canEquipOn(bodypart:IBodyPart):Boolean;
34 function onFailedAttack(from:Creature, to:Creature):void;
35 function onGoodAttack(from:Creature, to:Creature):void;
36 function calcDamage(from:Creature, to:Creature):Number;
37 /*{
38 return baseDamage * (1 - wear);
39 }*/