Jelly 0 Report post Posted June 14, 2016 function DelJingLing ( role , now_tick) local bagnum = GetKbCap( role ) i = 0 for i = 0 , bagnum-1 , 1 do local Item_bg = GetChaItem ( role , 2 , i ) if Item_bg == nil then else local Get_Item_Type = GetItemType ( Item_bg ) if Get_Item_Type == 59 then local str_Traget = GetItemAttr( Item_bg ,ITEMATTR_VAL_STR ) --Strenght local con_Traget = GetItemAttr( Item_bg ,ITEMATTR_VAL_CON ) --Constitution local agi_Traget = GetItemAttr( Item_bg ,ITEMATTR_VAL_AGI ) --Accuracy local dex_Traget = GetItemAttr( Item_bg ,ITEMATTR_VAL_DEX ) --Agility local sta_Traget = GetItemAttr( Item_bg ,ITEMATTR_VAL_STA ) --Spirit local lv_Traget = str_Traget + con_Traget + agi_Traget + dex_Traget + sta_Traget ----Stat To Add For A Level if lv_Traget >= 49 then SetItemAttr ( Item_bg , ITEMATTR_URE , 0 ) end end end end end i dont understand this script what does it do guys Quote Share this post Link to post Share on other sites
Billy 164 Report post Posted June 14, 2016 Checks each slot in bag. If that slot has an itme that is type 59 (fairy) then it checks the fairy level. If the fairy level is higher than 48, then stamina is set to 0. Looks like it is a script to prevent people having cheated fairys with high stats (but doesnt prevent people cheating in fairys with other stats on them, like def/pr/max etc, so isnt really a useful script tbh) Quote Share this post Link to post Share on other sites
Jelly 0 Report post Posted June 14, 2016 @7n6 thx man thats very detailed Quote Share this post Link to post Share on other sites