Commit 3f8a6a44 authored by mercury233's avatar mercury233 Committed by GitHub

fix 甲虫装機 リュシオル

parent be576e33
......@@ -29,10 +29,9 @@ function c66066482.initial_effect(c)
--confirm
local e5=Effect.CreateEffect(c)
e5:SetDescription(aux.Stringid(66066482,1))
e5:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e5:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e5:SetCode(EVENT_EQUIP)
e5:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP)
e5:SetRange(LOCATION_SZONE)
e5:SetCondition(c66066482.cfcon)
e5:SetTarget(c66066482.cftg)
e5:SetOperation(c66066482.cfop)
......@@ -67,7 +66,7 @@ function c66066482.eqlimit(e,c)
return e:GetOwner()==c and not c:IsDisabled()
end
function c66066482.eqfilter(c,ec)
return c==ec and c:GetEquipTarget():IsSetCard(0x56)
return c:GetEquipTarget()==ec and c:IsSetCard(0x56)
end
function c66066482.cfcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c66066482.eqfilter,1,nil,e:GetHandler())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment