타입은 ObjectValue<Pokemon>입니다.
| Name | Description | Usage |
|---|---|---|
id(): String | 포켓몬의 UUID를 문자열로 반환합니다. | v.pokemon.id() |
level(): Double | 포켓몬의 레벨을 Double로 반환합니다. | v.pokemon.level() |
max_hp(): Double | 포켓몬의 최대 HP를 Double로 반환합니다. | v.pokemon.hp() |
current_hp(): Double | 포켓몬의 현재 HP를 Double로 반환합니다. | v.pokemon.current_hp() |
friendship(): Double | 포켓몬의 친밀도를 Double로 반환합니다. | v.pokemon.friendship() |
evs(): QueryStruct | 포켓몬의 모든 노력치를 QueryStruct로 반환합니다. | v.pokemon.evs() |
ivs(): QueryStuct | 포켓몬의 모든 개체값을 QueryStruct로 반환합니다. | v.pokemon.ivs() |
is_wild(): Double | 1.0을 반환합니다: the 포켓몬 is 야생, 그렇지 않으면 0.0을 반환합니다. | v.pokemon.is_wild() |
is_shiny(): Double | 1.0을 반환합니다: the 포켓몬 is shiny, 그렇지 않으면 0.0을 반환합니다. | v.pokemon.is_shiny() |
species(): ObjectValue<Species> | 포켓몬 종의 ObjectValue<종>을 반환합니다. | v.pokemon.species() |
form(): String | 폼을 문자열로 반환합니다. | v.pokemon.form() |
weight: Double | 포켓몬의 몸무게를 Double로 반환합니다. | v.pokemon.weight() |
matches(properties: String): Double | 1.0을 반환합니다: the 포켓몬 matches the properties 문자열, 그렇지 않으면 0.0을 반환합니다. | v.pokemon.matches('gender=male') |
apply(properties: String): Double | Applies the properties to the 포켓몬. 1.0을 반환합니다. | v.pokemon.apply('gender=male') |
owner(): MoValue | 포켓몬의 주인을 ObjectValue<Player>로 반환하며, 주인이 없으면 0.0을 반환합니다. | v.pokemon.owner() |