mechanics.statuses
Class AwesomeEffect

java.lang.Object
  extended by mechanics.statuses.StatusEffect
      extended by mechanics.statuses.AwesomeEffect
All Implemented Interfaces:
java.lang.Cloneable

public class AwesomeEffect
extends StatusEffect

This is an amazingly awesome effect!!


Field Summary
 
Fields inherited from class mechanics.statuses.StatusEffect
m_lock, SPECIAL_EFFECT_LOCK, STATE_ACTIVE, STATE_DEACTIVATED, STATE_REMOVABLE, WEATHER_EFFECT_LOCK
 
Constructor Summary
AwesomeEffect()
          Creates a new instance of AwesomeEffect
 
Method Summary
 boolean apply(Pokemon p)
          Applies the initial effects of the status to a pokemon but does not add the status to the list of statuses the pokemon has.
 java.lang.String getDescription()
          Get a description of this status effect.
 java.lang.String getName()
          Get the name of this status effect.
 int getTier()
          Awesome is in the 5th tier
 boolean immobilises(Pokemon poke)
          Awesome immobilises 40% of the time.
 boolean switchOut(Pokemon p)
          Awesome stays through switching out.
 boolean tick(Pokemon p)
          Awesome removes 1/8 max HP multiplied by the number of active turns each round.
 void unapply(Pokemon p)
          Unapply this status effect.
 
Methods inherited from class mechanics.statuses.StatusEffect
activate, apply, beginTick, canSwitch, canSwitch, clone, deactivate, deactivates, disable, equals, executeTurn, getEffectiveness, getEnemyTransformedEffectiveness, getEnemyTransformedMove, getInducer, getLock, getMove, getTierCount, getTransformedEffectiveness, getTransformedMove, hitsThroughSubstitute, informDamaged, informDuplicateEffect, isActive, isEffectivenessTransformer, isExclusiveWith, isListener, isMoveTransformer, isPassable, isRemovable, isSingleton, setInducer, switchIn, vetoesMove
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AwesomeEffect

public AwesomeEffect()
Creates a new instance of AwesomeEffect

Method Detail

getName

public java.lang.String getName()
Description copied from class: StatusEffect
Get the name of this status effect.

Overrides:
getName in class StatusEffect

switchOut

public boolean switchOut(Pokemon p)
Awesome stays through switching out.

Overrides:
switchOut in class StatusEffect

tick

public boolean tick(Pokemon p)
Awesome removes 1/8 max HP multiplied by the number of active turns each round.

Overrides:
tick in class StatusEffect

getTier

public int getTier()
Awesome is in the 5th tier

Overrides:
getTier in class StatusEffect

apply

public boolean apply(Pokemon p)
Description copied from class: StatusEffect
Applies the initial effects of the status to a pokemon but does not add the status to the list of statuses the pokemon has.

Overrides:
apply in class StatusEffect

unapply

public void unapply(Pokemon p)
Description copied from class: StatusEffect
Unapply this status effect.

Overrides:
unapply in class StatusEffect

getDescription

public java.lang.String getDescription()
Description copied from class: StatusEffect
Get a description of this status effect.

Overrides:
getDescription in class StatusEffect

immobilises

public boolean immobilises(Pokemon poke)
Awesome immobilises 40% of the time.

Overrides:
immobilises in class StatusEffect