Défis
getChallengeId
Obtenir l’identifiant du défi de combat actuel.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Obtenir l’identifiant du défi de combat actuel.
fightChallenge:getChallengeId()
| Type | Description |
|---|---|
int | Identifiant du défi (0 si aucun défi actif). |
local challengeId = fightChallenge:getChallengeId()
if challengeId > 0 then
fightDebug:print("Identifiant du défi actif : " .. challengeId)
end