Commit 63eb4a5e authored by 想象力很好的毛虫's avatar 想象力很好的毛虫 Committed by GitHub

Fix-BM-4ボムスパイダー (#2268)

parent 6657b785
...@@ -53,11 +53,11 @@ end ...@@ -53,11 +53,11 @@ end
function c40634253.damcon1(e,tp,eg,ep,ev,re,r,rp) function c40634253.damcon1(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local tc=eg:GetFirst()
local bc=tc:GetBattleTarget() local bc=tc:GetBattleTarget()
return tc:IsPreviousControler(1-tp) and tc:IsLocation(LOCATION_GRAVE) return tc:IsPreviousControler(1-tp) and tc:IsLocation(LOCATION_GRAVE) and tc:GetBaseAttack()>0
and bc:IsControler(tp) and bc:GetOriginalAttribute()==ATTRIBUTE_DARK and bc:GetOriginalRace()==RACE_MACHINE and bc:IsType(TYPE_MONSTER) and bc:IsControler(tp) and bc:GetOriginalAttribute()==ATTRIBUTE_DARK and bc:GetOriginalRace()==RACE_MACHINE and bc:IsType(TYPE_MONSTER)
end end
function c40634253.damfilter1(c,tp) function c40634253.damfilter1(c,tp)
return c:IsReason(REASON_EFFECT) and c:IsType(TYPE_MONSTER) and c:IsReason(REASON_DESTROY) and c:IsLocation(LOCATION_GRAVE) and c:IsPreviousControler(1-tp) return c:IsReason(REASON_EFFECT) and c:IsType(TYPE_MONSTER) and c:IsReason(REASON_DESTROY) and c:IsLocation(LOCATION_GRAVE) and c:IsPreviousControler(1-tp) and c:GetBaseAttack()>0
end end
function c40634253.damcon2(e,tp,eg,ep,ev,re,r,rp) function c40634253.damcon2(e,tp,eg,ep,ev,re,r,rp)
if not re then return false end if not re then return false end
......
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