教你如何让黑龙套装融合后不失隐藏属性
更新时间:2012-07-19 03:28
文章作者:
浏览次数: 次
resource\script\calculate\functions
找到 --黑龙套装判断 这一行
function CheckItem_Heilong ( role )
local Atk = IsPlayer ( role )
local boat = ChaIsBoat ( role )
if Atk == 0 or boat == 1 then
return 0
end
local cha = TurnToCha ( role )
local Cha_Num = GetChaTypeID( cha )
local body = GetChaItem ( role , 1 , 2 )
local hand = GetChaItem ( role , 1 , 3 )
local foot = GetChaItem ( role , 1 , 4 )
local Body_ID = GetItemID ( body )
local Hand_ID = GetItemID ( hand )
local Foot_ID = GetItemID ( foot )
local body_gem_id = GetItemAttr ( body , ITEMATTR_VAL_FUSIONID )
local hand_gem_id = GetItemAttr ( hand , ITEMATTR_VAL_FUSIONID )
local foot_gem_id = GetItemAttr ( foot , ITEMATTR_VAL_FUSIONID )
if Body_ID<5000 or Hand_ID<5000 or Foot_ID<5000 then 织梦内容管理系统
body_gem_id=Body_ID
hand_gem_id=Hand_ID
foot_gem_id=Foot_ID
if body_gem_id ~= 0845 and body_gem_id ~= 2367 then
return 0
end
if hand_gem_id ~= 0846 and hand_gem_id ~= 2368 then
return 0
end
if foot_gem_id ~= 0847 and foot_gem_id ~= 2369 then
return 0
end
else
if body_gem_id ~= 0845 and body_gem_id ~= 2367 then
return 0
end
if hand_gem_id ~= 0846 and hand_gem_id ~= 2368 then
return 0
end
if foot_gem_id ~= 0847 and foot_gem_id ~= 2369 then
return 0
end
end
return 1
end
覆盖一下就OK了