|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmechanics.statuses.StatusEffect
mechanics.statuses.field.FieldEffect
mechanics.statuses.field.WeatherEffect
mechanics.statuses.field.RainEffect
public class RainEffect
1. Raises the power of Water moves by 1.5x 2. Cuts the power of Fire moves by 1/2. 3. Cuts the power of Solarbeam to 60. 4. Makes Thunder have perfect accuracy. (Perfect, not 100%) 5. Doubles the current effective Speed of pokemon with the Swift Swim ability. 6. Restores 1/16 HP to pokemon with the Rain Dish ability. 7. Makes pokemon with the Forecast ability Water-type. 8. Makes Weather Ball a power 100 Water-type move. 9. Makes Moonlight and Morning Sun restore 1/4 of the user's max HP. 10. Heals Pokemon with Dry Skin 1/8 health each turn
Field Summary |
---|
Fields inherited from class mechanics.statuses.field.WeatherEffect |
---|
m_applied |
Fields inherited from class mechanics.statuses.StatusEffect |
---|
m_lock, SPECIAL_EFFECT_LOCK, STATE_ACTIVE, STATE_DEACTIVATED, STATE_REMOVABLE, WEATHER_EFFECT_LOCK |
Constructor Summary | |
---|---|
RainEffect()
|
|
RainEffect(int turns)
Creates a new instance of SunEffect |
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. |
boolean |
applyToField(BattleField field)
Apply this effect to a field. |
java.lang.String |
getDescription()
Get a description of this status effect. |
java.lang.String |
getName()
Get the name of this status effect. |
MoveListEntry |
getTransformedMove(Pokemon poke,
MoveListEntry entry)
1. |
boolean |
immobilises(Pokemon p)
Return whether this effect immobilises the pokemon. |
boolean |
tickPokemon(Pokemon p)
Tick the effect on a pokemon. |
protected void |
tickWeather(BattleField field)
Tick this effect for the whole field. |
void |
unapply(Pokemon p)
Unapply this status effect. |
void |
unapplyToField(BattleField field)
Remove this effect from a field. |
Methods inherited from class mechanics.statuses.field.WeatherEffect |
---|
getTier, hasEffects, isMoveTransformer, setTypes, tickField |
Methods inherited from class mechanics.statuses.field.FieldEffect |
---|
beginTick, clone, getFieldCopy, switchOut, tick |
Methods inherited from class mechanics.statuses.StatusEffect |
---|
activate, apply, canSwitch, canSwitch, deactivate, deactivates, disable, equals, executeTurn, getEffectiveness, getEnemyTransformedEffectiveness, getEnemyTransformedMove, getInducer, getLock, getMove, getTierCount, getTransformedEffectiveness, hitsThroughSubstitute, informDamaged, informDuplicateEffect, isActive, isEffectivenessTransformer, isExclusiveWith, isListener, 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 RainEffect(int turns)
public RainEffect()
Method Detail |
---|
public java.lang.String getName()
StatusEffect
getName
in class StatusEffect
public boolean apply(Pokemon p)
StatusEffect
apply
in class StatusEffect
public void unapply(Pokemon p)
StatusEffect
unapply
in class StatusEffect
public java.lang.String getDescription()
StatusEffect
getDescription
in class StatusEffect
public boolean immobilises(Pokemon p)
StatusEffect
immobilises
in class StatusEffect
protected void tickWeather(BattleField field)
tickWeather
in class WeatherEffect
public boolean tickPokemon(Pokemon p)
FieldEffect
tickPokemon
in class FieldEffect
public boolean applyToField(BattleField field)
applyToField
in class FieldEffect
public void unapplyToField(BattleField field)
unapplyToField
in class FieldEffect
public MoveListEntry getTransformedMove(Pokemon poke, MoveListEntry entry)
getTransformedMove
in class StatusEffect
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |