Commit 948f8c88 authored by mercury233's avatar mercury233 Committed by GitHub

fix インフェルニティ・サプレッション

parent 54783e0f
...@@ -31,9 +31,12 @@ function c12541409.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -31,9 +31,12 @@ function c12541409.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_DISABLE,eg,1,0,0) Duel.SetOperationInfo(0,CATEGORY_DISABLE,eg,1,0,0)
end end
function c12541409.activate(e,tp,eg,ep,ev,re,r,rp) function c12541409.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.NegateEffect(ev) and re:GetHandler():IsRelateToEffect(re) and re:GetHandler():IsLevelAbove(1) and Duel.SelectYesNo(tp,aux.Stringid(12541409,1)) then local rc=re:GetHandler()
if Duel.NegateEffect(ev) and rc:IsLevelAbove(1) and Duel.SelectYesNo(tp,aux.Stringid(12541409,1)) then
Duel.BreakEffect() Duel.BreakEffect()
Duel.Damage(1-tp,re:GetHandler():GetLevel()*100,REASON_EFFECT) local lv=rc:GetLevel()
if not rc:IsRelateToEffect(re) then lv=rc:GetOriginLevel() end
Duel.Damage(1-tp,lv*100,REASON_EFFECT)
end end
end end
function c12541409.actcon(e) function c12541409.actcon(e)
......
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