Fix lethargy/cast again
All checks were successful
Release Creation / build (release) Successful in 43s

This commit is contained in:
2025-04-16 08:33:18 +02:00
parent fdd72e9375
commit cb60bb6027
24 changed files with 136 additions and 94 deletions

View File

@ -93,6 +93,21 @@ export class LethalFantasyCombat extends Combat {
c.update({ 'system.progressionCount': 0 });
}
setCasting(cId) {
let c = this.combatants.get(cId);
c.setFlag(SYSTEM.id, "casting", true);
}
resetCasting(cId) {
let c = this.combatants.get(cId);
c.setFlag(SYSTEM.id, "casting", false);
}
isCasting(cId) {
let c = this.combatants.get(cId);
return c.getFlag(SYSTEM.id, "casting");
}
async nextTurn() {
console.log("NEXT TURN");