|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmechanics.statuses.StatusEffect
mechanics.statuses.PoisonEffect
mechanics.statuses.ToxicEffect
public class ToxicEffect
| 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 | |
|---|---|
ToxicEffect()
Creates a new instance of ToxicEffect |
|
| 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. |
int |
getTier()
Toxic is in the fourth tier. |
boolean |
immobilises(Pokemon poke)
Poison does not immobilise. |
boolean |
switchOut(Pokemon p)
Poison stays through switching out. |
boolean |
tick(Pokemon p)
Toxic removes 1/16, 2/16, 3/16, etc. |
void |
unapply(Pokemon p)
Unapply this status effect. |
| Methods inherited from class mechanics.statuses.PoisonEffect |
|---|
getName |
| 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 |
|---|
public ToxicEffect()
| Method Detail |
|---|
public boolean switchOut(Pokemon p)
switchOut in class PoisonEffectpublic boolean tick(Pokemon p)
tick in class PoisonEffectpublic int getTier()
getTier in class PoisonEffectpublic boolean apply(Pokemon p)
StatusEffect
apply in class PoisonEffectpublic void unapply(Pokemon p)
StatusEffect
unapply in class PoisonEffectpublic java.lang.String getDescription()
StatusEffect
getDescription in class PoisonEffectpublic boolean immobilises(Pokemon poke)
immobilises in class PoisonEffect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||