wyvern.kernel.combat.parts
Class BasicAttack

java.lang.Object
  extended bywyvern.kernel.combat.BodyPart
      extended bywyvern.kernel.combat.AttackingBodyPart
          extended bywyvern.kernel.combat.parts.BasicAttack
All Implemented Interfaces:
Attack, MethodHookable

public class BasicAttack
extends AttackingBodyPart

This body part is for attacking only; it doesn't have any slots and can't be severed. It's for monsters such as blobs and ghosts that don't have actual body parts, but need something to encapsulate the parameters of their attack.

Version:
1.0, Jun 08, 1998
Author:
Steve Yegge

Field Summary
 
Fields inherited from class wyvern.kernel.combat.AttackingBodyPart
dtypes_, tohit_
 
Fields inherited from class wyvern.kernel.combat.BodyPart
hitWeight_, name_, pluralName_, slots_, uniqueName_
 
Constructor Summary
BasicAttack()
          Constructs a new BasicAttack
 
Method Summary
 void addWCs()
          Adds any damage types for this attack.
 java.lang.String toString()
          Returns debugging string.
 
Methods inherited from class wyvern.kernel.combat.AttackingBodyPart
addDamageType, addMethodHook, didDamage, getToHit, getWC, getWeaponSkill, makeClone, recomputeWCs, removeMethodHook, runMethodHook, setShowAttackerMessage, setToHit, setWC, setWC, showAttackerMessage
 
Methods inherited from class wyvern.kernel.combat.BodyPart
equals, getName, getPluralName, getProbability, getSlots, getTotalAC, getUniqueName, makeSingleSlot, setName, setPluralName, setProbability, setUniqueName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicAttack

public BasicAttack()
Constructs a new BasicAttack

Method Detail

addWCs

public void addWCs()
Adds any damage types for this attack.

Specified by:
addWCs in class AttackingBodyPart

toString

public java.lang.String toString()
Returns debugging string.

Overrides:
toString in class AttackingBodyPart