Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ItemID_Waiguan = GetItemID ( Item_Waiguan )
- local ItemID_L = GetItemID ( Item_Waiguan )
- local ItemID_R = GetItemID ( Item_Shuxing )--update and test try
- --SystemNotice( role ,"ItemID l = "..ItemID_L.."ItemID_wai= "..ItemID_Waiguan)--tell me whats the problem? the problem is, if wrong slot, the eq and gem will be gone. ok what the wright apperal slot? left
- if ItemID_Waiguan <= 4999 or ItemID_Waiguan >= 7200 then
- SystemNotice( role ,"Item cannot determined attribute")
- return 0
- end
- local Fused_L = GetItemAttr( Item_Waiguan , ITEMATTR_VAL_FUSIONID )
- if (ItemID_R <= 4999 and ItemID_R >= 7200) or Fused_L ~= 0 then
- SystemNotice( role ,"Wrong Slot, make sure your eq in right slot!")
- return 0
- end
- --------ÍâąŰµŔľßÄÍľĂĹжĎ
- local Item_URE = GetItemAttr ( Item_Waiguan , ITEMATTR_URE )
- local Item_MAXENERGY = GetItemAttr ( Item_Waiguan , ITEMATTR_MAXENERGY )
- if Item_URE < Item_MAXENERGY then
- SystemNotice( role ,"Armors have not reach the durability limit, cannot assign attribute")
- return 0
- end
- --------×îłőÍâąŰµŔľßĹжĎ
- local Item_FUSIONID_star = GetItemAttr ( Item_Shuxing , ITEMATTR_VAL_FUSIONID )
- local ItemID_shuxing_star = GetItemID ( Item_Shuxing )
- if Item_FUSIONID_star ==1 and ItemID_shuxing_star>=7200 then
- SystemNotice( role ,"Equipment on right slot has not attribute. Unable to fuse!")
- return 0
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement