Commit 119aa510 authored by woodee's avatar woodee

Merge pull request #176 from DailyShana/patch-3

fix The Agent of Judgment - Saturn
parents 8442a2b5 13e12f6b
...@@ -29,7 +29,7 @@ function c91345518.damtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -29,7 +29,7 @@ function c91345518.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,0) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,0)
end end
function c91345518.damop(e,tp,eg,ep,ev,re,r,rp) function c91345518.damop(e,tp,eg,ep,ev,re,r,rp)
if not Duel.IsEnvironment(56433456) then return end if not Duel.IsEnvironment(56433456,tp) then return end
local p=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER) local p=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER)
local val=Duel.GetLP(1-p)-Duel.GetLP(p) local val=Duel.GetLP(1-p)-Duel.GetLP(p)
if val>0 then if val>0 then
......
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