Class: Battle::Move::ShellSideArm

Inherits:
Basic show all
Defined in:
docs/5_Battle_10_Move.rb

Overview

Class describing the Shell Side Arm move

Instance Method Summary collapse

Methods inherited from Basic

#deal_damage, #effect_working?

Instance Method Details

#damages(user, target) ⇒ Integer

Note:
Note:

The formula is the following: (((((((Level * 2 / 5) + 2) * BasePower * [Sp]Atk / 50) / [Sp]Def) * Mod1) + 2) * CH * Mod2 * R / 100) * STAB * Type1 * Type2 * Mod3)

Method calculating the damages done by the actual move

Parameters:

Returns:

  • (Integer)


6144
6145
# File 'docs/5_Battle_10_Move.rb', line 6144

def damages(user, target)
end

#direct? ⇒ Boolean

Is the skill direct ?

Returns:

  • (Boolean)


6156
6157
# File 'docs/5_Battle_10_Move.rb', line 6156

def direct?
end

#physical? ⇒ Boolean

Is the skill physical ?

Returns:

  • (Boolean)


6148
6149
# File 'docs/5_Battle_10_Move.rb', line 6148

def physical?
end

#special? ⇒ Boolean

Is the skill special ?

Returns:

  • (Boolean)


6152
6153
# File 'docs/5_Battle_10_Move.rb', line 6152

def special?
end