sealed trait MoveType extends AnyRef
Every move is associated to a move type that has a twofold purpose:
1) It determines which attacker's and target's sub-statistics could affect the move's power.
For example, the damage effect of a Melee move will be higher if the attacker has a high physicalDamage sub-statistic, whilst the damage effect of a Spell will be higher if the attacker has a high magical power sub-statistic.
2) Different status alterations inhibit different move types.
For example, a silenced character cannot cast any Spell, whilst a blinded character cannot make any Ranged move.
- Alphabetic
- By Inheritance
- MoveType
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
attackingBonus(attacker: Character): Int
Provides the attacking bonus given the attacker character.
Provides the attacking bonus given the attacker character.
- attacker
the character making the move
- returns
the attacking bonus
-
abstract
def
attackingCriticalBonus(attacker: Character): Int
Provides the attacking critical bonus given the attacker character.
Provides the attacking critical bonus given the attacker character.
- attacker
the character making the move
- returns
the attacking critical bonus
-
abstract
def
defendingBonus(target: Character): Int
Provides the defending bonus given the target character.
Provides the defending bonus given the target character.
- target
the target character
- returns
the defending bonus
-
abstract
def
representation: String
A string representation of the move type.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )