wyvern.lib.combat
Class PoisonBite

java.lang.Object
  extended bywyvern.kernel.combat.BodyPart
      extended bywyvern.kernel.combat.AttackingBodyPart
          extended bywyvern.lib.combat.PoisonSting
              extended bywyvern.lib.combat.PoisonBite
All Implemented Interfaces:
Attack, MethodHookable

public class PoisonBite
extends PoisonSting

An attacking body part that poisons in addition to its normal damage. Useful for stings, bites, cuts and other poisonous animal/monster attacks.

Version:
1.0, Apr 14, 2000
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
PoisonBite()
           
 
Method Summary
 void addWCs()
          Instructs the subclass to add one DamageType object for each damage type the body-part does when it strikes.
 java.lang.String getName()
          Returns the singular name of the part (e.g.
 java.lang.String getPluralName()
          Returns the plural name of the part (e.g.
 
Methods inherited from class wyvern.lib.combat.PoisonSting
didDamage, equals
 
Methods inherited from class wyvern.kernel.combat.AttackingBodyPart
addDamageType, addMethodHook, getToHit, getWC, getWeaponSkill, makeClone, recomputeWCs, removeMethodHook, runMethodHook, setShowAttackerMessage, setToHit, setWC, setWC, showAttackerMessage, toString
 
Methods inherited from class wyvern.kernel.combat.BodyPart
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

PoisonBite

public PoisonBite()
Method Detail

addWCs

public void addWCs()
Description copied from class: PoisonSting
Instructs the subclass to add one DamageType object for each damage type the body-part does when it strikes.

Overrides:
addWCs in class PoisonSting

getName

public java.lang.String getName()
Description copied from class: BodyPart
Returns the singular name of the part (e.g. "foot")

Overrides:
getName in class PoisonSting

getPluralName

public java.lang.String getPluralName()
Description copied from class: BodyPart
Returns the plural name of the part (e.g. "feet")

Overrides:
getPluralName in class PoisonSting