Corporeal Kylin Set & Chest
Page 1 of 1
Corporeal Kylin Set & Chest
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
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
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum