AnaMutaz 7 Report post Posted August 13, 2017 Some one can help me with making cloak showing the stips and functions from 0 ill be thankful seriously!!! @KONG @V3ct0r @Faller @Angelix Quote Share this post Link to post Share on other sites
Onioni 58 Report post Posted August 13, 2017 use the one kong is made and remember add function Creat_Item_Tattr(item_type,item_lv , item_event) and function Creat_Item(item, item_type, item_lv, item_event) if u don't add then stats will be not seen more info how to do it at my demonic helm at down. Quote Download: Nightmare Demonic Helm Dimension Pirates Online files: get now New map Project: Flag PK Black Skin 3.1.3 for pko 1: Get now Share this post Link to post Share on other sites
mariogt16 0 Report post Posted August 13, 2017 function Creat_Item(item, item_type, item_lv, item_event) Add_Item_Attr(ITEMATTR_VAL_STR, 0) Add_Item_Attr(ITEMATTR_VAL_CON, 0) Add_Item_Attr(ITEMATTR_VAL_AGI, 0) Add_Item_Attr(ITEMATTR_VAL_STA, 0) Add_Item_Attr(ITEMATTR_VAL_DEX, 0) end function Creat_Item_Tattr(item_type,item_lv , item_event) Add_Item_Attr(ITEMATTR_VAL_STR, 0) Add_Item_Attr(ITEMATTR_VAL_CON, 0) Add_Item_Attr(ITEMATTR_VAL_AGI, 0) Add_Item_Attr(ITEMATTR_VAL_STA, 0) Add_Item_Attr(ITEMATTR_VAL_DEX, 0) end ?????? Quote Share this post Link to post Share on other sites
Onioni 58 Report post Posted August 14, 2017 (edited) 13 hours ago, mariogt16 said: idk what stats u want cloak to add, but that is wrong. look. you need add it in AttrCalculate.lua 13 hours ago, mariogt16 said: function Creat_Item(item, item_type, item_lv, item_event) item_event = item_event item_type = item_type item_lv = item_lv Reset_item_add() local i = 0 local Num = 0 if item_event == 88 then for i = ITEMATTR_VAL_STR, ITEMATTR_VAL_STA do Add_Item_Attr(i, 0); end end --and so on the function Quote function Creat_Item_Tattr(item_type,item_lv , item_event) --[[´´½¨µÀ¾ßËæ»úÊôÐÔ]]-- local quality = SetItemQua ( item_event ) if item_event == 88 then for i = ITEMATTR_VAL_STR, ITEMATTR_VAL_STA do Add_Item_Attr(i, 0); end end --and so on the function Quote look in cloak so you using right item_event function ItemUse_CloakUnseal(role, Item) GiveItem(role, 0, cloak.conf['itemId'], 1, 88); -- 88 is item_event in this case i don't like to give ready codes cause you will dont learn then it's just copy paste at all.. but enjoy it.. Edited August 14, 2017 by Onioni Quote Download: Nightmare Demonic Helm Dimension Pirates Online files: get now New map Project: Flag PK Black Skin 3.1.3 for pko 1: Get now Share this post Link to post Share on other sites