dragontechi 68 Report post Posted December 5, 2020 quiero activar el 6to slot para effecto especiales alguien tiene una idea que parte tengo que modificar I want to activate the 6th slot for special effects someone has an idea which part I have to modify 1 Quote Share this post Link to post Share on other sites
wolfenx 106 Report post Posted December 5, 2020 (edited) en functions.lua dentro de cha_timer local 6toSloth = GetChaItem(role,2,5) -- GetChaItem(role,TYPE,SLOTH ID) local 6toSlothID = GetItemID(6toSloth) -- OBTERNER ID DEL ITEM if 6toSlothID == XXXX -- ID DEL ITEM QUE USARAS PARA EL EFF AddState(role,role,STATE_BBRING1,1,3600) -- AddState(PERSONAJE,TARGET,EFF QUE USARAS,LV DEL EFF,TIEMPO) else local Get_State = GetChaStateLv(role,STATE_BBRING1) -- BUSCA SI TIENES EL EFF ACTIVO if Get_State ~= 0 then -- Get_State NO ES IGUAL A 0 RemoveState(role,STATE_BBRING1) -- ELIMINA EL ESTADO(ESTA CONDICION PASA SI CAMBIAS EL ITEM O NO ESTA) end end Edited December 5, 2020 by wolfenx 1 Quote Discord:Wolfen#1498 https://www.patreon.com/ReTop Share this post Link to post Share on other sites