Hi Narinka
Yes add 7 scripts in your design.
I may suggest that you can use the powerfull RDX API instead of your code
Replace
Code:
for i = 1,n do
if UnitBuff("player", buffs[i]) then varsc = false end;
end;
By
Code:
if unit:HasBuff("buff1") or unit:HasBuff("buff2") then ... end
In the same concept with cooldown
Code:
unit:HasUsedCooldownBySpellid(spellid)
unit:HasAvailCooldownBySpellid(spellid)
Use the event "UNIT_COOLDOWN" as the trigger
One day I will publish the API of RDX.
BTW, do you have any update of the ruRU langage pack ?
Cheers