trait Character extends AnyRef
Defines the general implementation of a game character
- Alphabetic
- By Inheritance
- Character
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract val characterName: String
-
abstract
val
classMultipliers: ClassMultipliers
The character's statistic multipliers, specific to its role
-
abstract
val
owner: Option[String]
The player owning the character
-
abstract
val
role: String
The character's fighting class
-
abstract
val
specialMoves: Map[String, SpecialMove]
The character's special moves
-
abstract
val
statistics: Statistics
The character's statistics
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( ... )
-
def
criticalChance: Int
Calculates the character's critical strike chance
Calculates the character's critical strike chance
- returns
the character's critical strike chance
-
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()
-
def
isAlive: Boolean
Check if the character is alive
Check if the character is alive
- returns
true if the character is alive of false if it's dead
-
def
isIncapacitated: Boolean
Check if the character is incapacitated
Check if the character is incapacitated
- returns
true if the character is stunned or asleep
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
magicalCriticalPower: Int
Calculates the character's bonus magical critical strike power
Calculates the character's bonus magical critical strike power
- returns
the character's magical critical strike power
-
def
magicalDefence: Int
Calculates the character's magical defence
Calculates the character's magical defence
- returns
the character's magical defence
-
def
magicalPower: Int
Calculates the character's magical power
Calculates the character's magical power
- returns
the character's magical power
-
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()
-
def
physicalCriticalDamage: Int
Calculates the character's bonus physical critical strike damage
Calculates the character's bonus physical critical strike damage
- returns
the character's physical critical strike damage
-
def
physicalDamage: Int
Calculates the character's physical damage
Calculates the character's physical damage
- returns
the character's physical damage
-
def
physicalDefence: Int
Calculates the character's physical defence
Calculates the character's physical defence
- returns
the character's physical defence
-
def
speed: Int
Calculates the character's speed
Calculates the character's speed
- returns
the character's speed
-
val
status: Status
Contains the character's status, depending on current HP and MP values and current modifiers and afflictions
-
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( ... )