Passer au contenu principal
Obtenir les Points de Mouvement actuels du personnage.

🎮 Méthode

fightCharacter:getMP()

💎 Valeur de retour

TypeDescription
intPoints de Mouvement actuels.

💡 Exemple

local path = fightAction:getShortestPath(myCell, enemyCell, false)
if #path <= fightCharacter:getMP() then
    fightAction:moveTowardCell(enemyCell)
end