wyvern.lib.skills
Class Zoology

java.lang.Object
  extended bywyvern.lib.skills.Zoology

public class Zoology
extends java.lang.Object

Implements the Zoology skill, where you can get information about a monster depending on your level in the skill.

Version:
1.0, Jun 15, 2001
Author:
Steve Yegge

Constructor Summary
Zoology()
           
 
Method Summary
static java.lang.String appraiseMonster(Monster mon, Commandable agent)
          Appraises a monster.
static java.lang.String appraiseMonster(Monster mon, int skill)
          Does the actual appraisal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Zoology

public Zoology()
Method Detail

appraiseMonster

public static java.lang.String appraiseMonster(Monster mon,
                                               Commandable agent)
Appraises a monster. Takes into account the distance between the monster and the appraiser.

Parameters:
mon - the monster to be appraised
agent - the appraiser
Returns:
the appraisal, or null if the agent couldn't tell anything

appraiseMonster

public static java.lang.String appraiseMonster(Monster mon,
                                               int skill)
Does the actual appraisal. If the monster has a no-zoology skill, returns a no-info message.

Parameters:
mon - the monster to appraise
skill - the skill-level of the appraisal (must be >0)