You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To prevent using skills if character_1 is affected by a skill sealing debuff, you can use:
booleans["can use skills"] = true
for index, buff in pairs(character_1.buffs) do
if buff.id == <ID of the skill sealing debuff> then
booleans["can use skills"] = false
end
end
if booleans["can use skills"] then
character_1:UseSkill(X)
...
end
The list of effect IDs and their name is updated in a file named status_effects.txt which will be created in the same folder as ZooeyBot.exe so you can figure out which ID to use for <ID of the skill sealing debuff>.
Other useful use cases would be to perform specific actions based on the number of stacks on some buffs, for characters such as Korwa or Izmir to name a few.
The text was updated successfully, but these errors were encountered:
Repository owner
locked and limited conversation to collaborators
Aug 20, 2017
Masuzu
changed the title
[Informational] Conditions based on character status effects
[Informational] Perform actions based on party member status effects
Aug 20, 2017
This is something you can from now on do by accessing active party member status effects.
To prevent using skills if character_1 is affected by a skill sealing debuff, you can use:
The list of effect IDs and their name is updated in a file named
status_effects.txt
which will be created in the same folder asZooeyBot.exe
so you can figure out which ID to use for<ID of the skill sealing debuff>
.Other useful use cases would be to perform specific actions based on the number of stacks on some buffs, for characters such as Korwa or Izmir to name a few.
The text was updated successfully, but these errors were encountered: