Update move_data.gd

This commit is contained in:
TheThomaas 2026-10-18 15:59:00 +02:00
parent 8d18965c5a
commit fd603986ec

View file

@ -55,10 +55,10 @@ func get_ailment_chance() -> int:
if ailment == "none": return 0
return 100 if (ailment_chance <= 0 and category == "status") else ailment_chance
## Les changements de stats sont-ils appliques avec certitude ?
## Probabilite (en %) d'appliquer les changements de stats ; PokeAPI laisse 0 quand c'est certain.
func get_stat_chance() -> int:
if stat_changes.is_empty(): return 0
return 100 if (stat_chance <= 0 and category == "status") else stat_chance
return 100 if stat_chance <= 0 else stat_chance
func is_multi_hit() -> bool:
return max_hits > 1