Personnage
getMP
Obtenir les Points de Mouvement actuels du personnage.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Obtenir les Points de Mouvement actuels du personnage.
fightCharacter:getMP()
| Type | Description |
|---|---|
int | Points de Mouvement actuels. |
local path = fightAction:getShortestPath(myCell, enemyCell, false)
if #path <= fightCharacter:getMP() then
fightAction:moveTowardCell(enemyCell)
end