wyvern.kernel.combat.damages
Class MagicDamage

java.lang.Object
  extended bywyvern.kernel.combat.DamageType
      extended bywyvern.kernel.combat.damages.MagicDamage

public class MagicDamage
extends DamageType

"Magical" damage, e.g. from magic missiles.

Version:
1.0, Aug 23, 1999
Author:
Steve Yegge

Field Summary
 
Fields inherited from class wyvern.kernel.combat.DamageType
DAMAGE_YOU_MSGS, INANIMATE_DAMAGE_MSGS, wc_, YOU_DAMAGE_MSGS
 
Constructor Summary
MagicDamage()
          Required no-arg constructor for Class.newInstance()
MagicDamage(int wc)
          Constructs a new MagicDamage
 
Method Summary
 java.lang.String getShortName()
          Returns "fire", "cold", "smash" or whatever else is used in the archetype files for this damage type.
 
Methods inherited from class wyvern.kernel.combat.DamageType
createClone, getAttackerMessages, getAttackerMessagesInanimate, getAttackerMsg, getDamageClass, getDefenderMessages, getDefenderMsg, getNegativeDamageAttackerMessage, getNegativeDamageDefenderMessage, getNoDamageAttackerMessage, getNoDamageDefenderMessage, getWC, setWC, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MagicDamage

public MagicDamage()
Required no-arg constructor for Class.newInstance()


MagicDamage

public MagicDamage(int wc)
Constructs a new MagicDamage

Method Detail

getShortName

public java.lang.String getShortName()
Returns "fire", "cold", "smash" or whatever else is used in the archetype files for this damage type.

Specified by:
getShortName in class DamageType
Returns:
the damage name