public ElementConeAction(Entity owner, Vec target, int radius, INoun noun, Attack attack) : base(owner, target, radius) { mNoun = noun; mAttack = attack; }
/// <summary> /// Initializes a new Hit that cannot be dodged. /// </summary> /// <param name="damage">Damage the hit does.</param> public Hit(INoun attacker, Attack attack, Direction direction) : this(attacker, attack, false, direction) { }
public HealAction(Entity entity, Attack amount) : base(entity) { mAmount = amount; }
public override Action GetAction(Monster monster, Entity target) { Attack attack = new Attack(Info.Damage, Info.Element, Info.Verb, Info.Effect); return(new ElementBoltAction(monster, target.Position, Info.Noun, attack)); }
public GainHealthAction(Entity entity, Attack amount) : base(entity) { mAmount = amount; }