Welcome to ToP Guide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Corporeal Kylin Set & Chest

Go down

Corporeal  Kylin Set & Chest Empty Corporeal Kylin Set & Chest

Post  Admin Sun Oct 23, 2011 8:21 pm

http://www.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
Admin
Admin
Admin

Posts : 23
Join date : 2011-10-23

https://bloodyserverguide.forumotion.com

Back to top Go down

Back to top


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