Corporeal Kylin Set & Chest

Go down

Corporeal Kylin Set & Chest

Post  Admin on Sun Oct 23, 2011 8:21 pm

mediafire.com ?n6o9t9526w657tx

We will first make the Chest Of Corporeal Kylin Effect so 1st of all go to your ItemEffect.lua you can find this on Resource > Script > Calculate **
Open it and go to end of ItemEffect.lua and add this.

function ItemUse_CKS ( role , Item )
local cha = TurnToCha ( role )
local cha_type = GetChaTypeID ( cha )

local Item_CanGet = GetChaFreeBagGridNum ( cha )

if Item_CanGet <= 3 then
SystemNotice(role ,"Requires 4 slots in inventory to open Chest Of Corporeal Kylin Set.")
UseItemFailed ( role )
return
end
if cha_type == 4 then
GiveItem ( cha , 0 , 2552 , 1 , 0 )
end
GiveItem ( cha , 0 , 2549 , 1 , 0 )
GiveItem ( cha , 0 , 2550 , 1 , 0 )
GiveItem ( cha , 0 , 2551 , 1 , 0 )
end
avatar
Admin
Admin

Posts : 23
Join date : 2011-10-23

View user profile http://bloodyserverguide.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum