Commit d37aece7 authored by Steeldarkeagel's avatar Steeldarkeagel

Update c68073522.lua

Fix: Will no longer give Lp if a token is Removed from the Field by a "Remove From Play" effect.
parent 4fc5104f
...@@ -16,8 +16,11 @@ function c68073522.initial_effect(c) ...@@ -16,8 +16,11 @@ function c68073522.initial_effect(c)
e2:SetOperation(c68073522.operation) e2:SetOperation(c68073522.operation)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c68073522.filter(c,e,tp)
return not c:IsType(TYPE_TOKEN)
end
function c68073522.target(e,tp,eg,ep,ev,re,r,rp,chk) function c68073522.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsRelateToEffect(e) end if chk==0 then return e:GetHandler():IsRelateToEffect(e) and eg:IsExists(c68073522.filter,1,nil,e,tp) end
Duel.SetTargetPlayer(tp) Duel.SetTargetPlayer(tp)
Duel.SetTargetParam(eg:GetCount()*500) Duel.SetTargetParam(eg:GetCount()*500)
Duel.SetOperationInfo(0,CATEGORY_RECOVER,0,0,tp,eg:GetCount()*500) Duel.SetOperationInfo(0,CATEGORY_RECOVER,0,0,tp,eg:GetCount()*500)
......
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