Here is how I tried:
I did this costume1 in the place of DUMB effect, because the limit is 240 and it wont let me go further.
155 costume1 -1 0 State_costume1_Add State_costume1_Rem 3 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 -1 0 0 0 123 2 0 0 0 0 0 0 0
where --> 123 is the effect ID
after that I edited the BBRing effect to:
function State_costume1_Add ( role , statelv )
end
function State_costume1_Rem ( role , statelv )
end
then in variable.lua -> line 91 (it didnt work if I did 155 = STATE_Costume1), but it isn't working like this either
STATE_Costume1 = 155
Then at Dina in functions.lua:
elseif Dina_x1_ID==2346 and Dina_x2_ID==7996 then
local statelv = 1
local statetime = 3600
AddState( role , role , STATE_costume1 , statelv , statetime)
-- AND
local statelv_costume1 = GetChaStateLv ( role , STATE_costume1 )
if statelv_costume1~=0 then
RemoveState ( role , STATE_costume1 )
end
These are the 2 conditions but I wrote them seperately at the elseif and the second one at the if where the eff is removed
am I doing something wrong? I also tried to edit the numbers between -2 and 2 but still nothing.
Then I copied the compiled skilleff.bin and txt to client and compiled again there aswell.
Could you guys help please?
Thank you in advance!!