Commit 826d9055 authored by mercury233's avatar mercury233 Committed by GitHub

fix No-P.U.N.K.フォクシー・チューン

parent 57c7ac51
...@@ -83,8 +83,7 @@ function c55920742.rctg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -83,8 +83,7 @@ function c55920742.rctg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
local c=e:GetHandler() local c=e:GetHandler()
local bc=c:GetBattleTarget() local bc=c:GetBattleTarget()
local dam=bc:GetAttack() local dam=bc:GetBaseAttack()
if dam<0 then dam=0 end
Duel.SetTargetPlayer(tp) Duel.SetTargetPlayer(tp)
Duel.SetTargetParam(dam) Duel.SetTargetParam(dam)
Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,dam) Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,dam)
...@@ -92,4 +91,4 @@ end ...@@ -92,4 +91,4 @@ end
function c55920742.rcop(e,tp,eg,ep,ev,re,r,rp) function c55920742.rcop(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM) local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
Duel.Recover(p,d,REASON_EFFECT) Duel.Recover(p,d,REASON_EFFECT)
end end
\ No newline at end of file
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