Jump to content
Sign in to follow this  
AnaMutaz

Stips fir making a cloak

Recommended Posts

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.


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


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   

??????

Share this post


Link to post
Share on other sites
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 by Onioni

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...