Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Skill

The data class for skills.

Hierarchy

Index

Properties

animationId

animationId: number

The animation ID.

damage

damage: Damage

Damage (RPG.Damage).

description

description: string

The description text.

effects

effects: Array<Effect>

A list of use effects. An RPG.Effect array.

hitType

hitType: number

The type of hit.

0: Certain hit 1: Physical attack 2: Magical attack

iconIndex

iconIndex: number

The icon number.

id

id: number

The item ID.

message1

message1: string

The use message.

message2

message2: string

The use message.

meta

meta: object

The Meta.

Type declaration

  • [key: string]: any

mpCost

mpCost: number

Number of MP consumed.

name

name: string

The item name.

note

note: string

The text of the note.

occasion

occasion: number

When the item/skill may be used.

0: Always 1: Only in battle 2: Only from the menu 3: Never

repeats

repeats: number

The number of repeats.

requiredWtypeId1

requiredWtypeId1: number

Weapon type required.

requiredWtypeId2

requiredWtypeId2: number

Weapon type required.

scope

scope: number

The scope of effects.

0: None 1: One Enemy 2: All Enemies 3: One Random Enemy 4: Two Random Enemies 5: Three Random Enemies 6: Four Random Enemies 7: One Ally 8: All Allies 9: One Ally (Dead) 10: All Allies (Dead) 11: The User

speed

speed: number

The speed correction.

stypeId

stypeId: number

Skill type ID.

successRate

successRate: number

The success rate.

tpCost

tpCost: number

Number of TP consumed

tpGain

tpGain: number

The number of TP gained.

Generated using TypeDoc