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
Regarding Buff_Has I've experienced a issue checking if a npc has multiple buffs.
My aim is to identify if a npc has beend executed while being burned by a fire spell.
Multiple Buff_Has with operator || doesn't work for me. See: // I. E. condition in ZS_Dead if (Buff_Has(slf, burn_firebolt_exp)) || (Buff_Has(slf, burn_firebolt)) || (Buff_Has(slf, burn_fireball_exp)) || (Buff_Has(slf, burn_fireball)) || (Buff_Has(slf, burn_firestorm_exp)) || (Buff_Has(slf, burn_firestorm)) || (Buff_Has(slf, burn_firerain_exp)) || (Buff_Has(slf, burn_firerain)) || (Buff_Has(slf, burn_firearrow_exp)) || (Buff_Has(slf, burn_firearrow)) || (Buff_Has(slf, burn_fire_exp)) { PrintS("Test"); //Nothing happens };
For the exact same situation, only asking for the correct Buff without || works fine if Buff_Has(slf, burn_fireball_exp) { PrintS("Test"); //This works for the exact same situation. };
My setup is:
Ikarus 1.22
LeGo 2.8
What do you think?
The text was updated successfully, but these errors were encountered:
Hello everyone,
Regarding Buff_Has I've experienced a issue checking if a npc has multiple buffs.
My aim is to identify if a npc has beend executed while being burned by a fire spell.
Multiple Buff_Has with operator || doesn't work for me. See:
// I. E. condition in ZS_Dead if (Buff_Has(slf, burn_firebolt_exp)) || (Buff_Has(slf, burn_firebolt)) || (Buff_Has(slf, burn_fireball_exp)) || (Buff_Has(slf, burn_fireball)) || (Buff_Has(slf, burn_firestorm_exp)) || (Buff_Has(slf, burn_firestorm)) || (Buff_Has(slf, burn_firerain_exp)) || (Buff_Has(slf, burn_firerain)) || (Buff_Has(slf, burn_firearrow_exp)) || (Buff_Has(slf, burn_firearrow)) || (Buff_Has(slf, burn_fire_exp)) { PrintS("Test"); //Nothing happens };
For the exact same situation, only asking for the correct Buff without || works fine
if Buff_Has(slf, burn_fireball_exp) { PrintS("Test"); //This works for the exact same situation. };
My setup is:
What do you think?
The text was updated successfully, but these errors were encountered: