Commit 7c03c96b authored by TanakaKotoha's avatar TanakaKotoha

fix

parent 43dcac15
...@@ -46,7 +46,7 @@ function cm.atkcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -46,7 +46,7 @@ function cm.atkcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetLP(tp)>=6000 return Duel.GetLP(tp)>=6000
end end
function cm.ubcon(e,tp,eg,ep,ev,re,r,rp) function cm.ubcon(e,tp,eg,ep,ev,re,r,rp)
return re and re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsCode(17035000) return re and re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsCode(17035300)
end end
function cm.con(e,tp,eg,ep,ev,re,r,rp) function cm.con(e,tp,eg,ep,ev,re,r,rp)
return true return true
......
...@@ -59,7 +59,7 @@ function cm.sumsuc(e,tp,eg,ep,ev,re,r,rp) ...@@ -59,7 +59,7 @@ function cm.sumsuc(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.ubcon(e,tp,eg,ep,ev,re,r,rp) function cm.ubcon(e,tp,eg,ep,ev,re,r,rp)
return re and re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsCode(17035000) return re and re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsCode(17035300)
end end
function cm.ubcost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.ubcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsCanRemoveCounter(tp,0x1,2,REASON_COST) end if chk==0 then return e:GetHandler():IsCanRemoveCounter(tp,0x1,2,REASON_COST) end
......
...@@ -65,7 +65,7 @@ function cm.damop(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,7 +65,7 @@ function cm.damop(e,tp,eg,ep,ev,re,r,rp)
Duel.SetLP(1-tp,Duel.GetLP(1-tp)-500) Duel.SetLP(1-tp,Duel.GetLP(1-tp)-500)
end end
function cm.ubcon(e,tp,eg,ep,ev,re,r,rp) function cm.ubcon(e,tp,eg,ep,ev,re,r,rp)
return re and re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsCode(17035000) return re and re:IsActiveType(TYPE_MONSTER) and re:GetHandler():IsCode(17035300)
end end
function cm.ubcost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.ubcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsCanRemoveCounter(tp,0x1,2,REASON_COST) end if chk==0 then return e:GetHandler():IsCanRemoveCounter(tp,0x1,2,REASON_COST) 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