o

model

MoveEffectStrategies

object MoveEffectStrategies

A factory of the possible move effects present in the game.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MoveEffectStrategies
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(moveEffectStrategyCode: String, moveType: MoveType, baseValue: Int)(addModifiers: Map[Modifier, Int], addAlterations: Map[Alteration, Int], removeAlterations: Set[Alteration]): (Attacker, Target) ⇒ NewTargetStatus

    Provides the appropriate move effect a string code, the move type, all the modifiers to add and the alterations to add/remove to/from the target.

    Provides the appropriate move effect a string code, the move type, all the modifiers to add and the alterations to add/remove to/from the target.

    moveEffectStrategyCode

    the string code that discerns a certain effect

    moveType

    the move type

    baseValue

    the base value of the move effect

    addModifiers

    the modifiers that must be added to the target status

    addAlterations

    the alterations that must be added to the target status

    removeAlterations

    the alterations to remove from the target status

    returns

    the appropriate move effect

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def createBuffDebuffEffect(implicit addModifiers: Map[Modifier, Int], addAlterations: Map[Alteration, Int], removeAlterations: Set[Alteration]): (Attacker, Target) ⇒ Status

    Provides a buff/debuff move effect: this type of effect only affects the modifiers and the alterations of the target's status.

    Provides a buff/debuff move effect: this type of effect only affects the modifiers and the alterations of the target's status.

    addModifiers

    the modifiers to add (or to update if already present) to the target's status

    addAlterations

    the alterations to add (or to update if already present) to the target's status

    removeAlterations

    the alterations to remove (if present) from the target's status

    returns

    the move effect modeling an appropriate buff/debuff modification

  8. def createPercentageEffect(percentage: Int)(implicit addModifiers: Map[Modifier, Int], addAlterations: Map[Alteration, Int], removeAlterations: Set[Alteration]): (Attacker, Target) ⇒ Status

    Provides a percentage move effect that describes how to: 1) Increase/decrease the target's health points by a certain percentage.

    Provides a percentage move effect that describes how to: 1) Increase/decrease the target's health points by a certain percentage. 2) Possibly affect the modifiers and the alterations of the target's status.

    percentage

    the percentage value that will be multiplied by the health points of the target (formula: hp * percentage / 100)

    addModifiers

    the modifiers to add (or to update if already present) to the target's status

    addAlterations

    the alterations to add (or to update if already present) to the target's status

    removeAlterations

    the alterations to remove (if present) from the target's status

    returns

    the move effect modeling an appropriate percentage modification

  9. def createStandardDamageEffect(moveType: MoveType, baseDamage: Int)(implicit addModifiers: Map[Modifier, Int], addAlterations: Map[Alteration, Int], removeAlterations: Set[Alteration]): (Attacker, Target) ⇒ Status

    Provides a standard damage effect that describes how to: 1) Decrease the target's health points.

    Provides a standard damage effect that describes how to: 1) Decrease the target's health points. 2) Possibly affect the modifiers and the alterations of the target's status.

    moveType

    the move type

    baseDamage

    the base damage value

    addModifiers

    the modifiers to add (or to update if already present) to the target's status

    addAlterations

    the alterations to add (or to update if already present) to the target's status

    removeAlterations

    the alterations to remove (if present) from the target's status

    returns

    the move effect modeling an appropriate standard damage

  10. def createStandardHealEffect(baseHeal: Int)(implicit addModifiers: Map[Modifier, Int], addAlterations: Map[Alteration, Int], removeAlterations: Set[Alteration]): (Attacker, Target) ⇒ Status

    Provides a standard heal effect that describes how to: 1) Increase the target's health points.

    Provides a standard heal effect that describes how to: 1) Increase the target's health points. 2) Possibly affect the modifiers and the alterations of the target's status.

    baseHeal

    the base heal value

    addModifiers

    the modifiers to add (or to update if already present) to the target's status

    addAlterations

    the alterations to add (or to update if already present) to the target's status

    removeAlterations

    the alterations to remove (if present) from the target's status

    returns

    the move effect modeling an appropriate standard healing

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val minDamage: Int
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped