Commit b41a1884 authored by 聖園ミカ's avatar 聖園ミカ 🐟

7

parent 248f2e10
...@@ -35,8 +35,9 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -35,8 +35,9 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local lp=Duel.GetLP(tp) local lp=Duel.GetLP(tp)
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS) local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS)
local sg=g:Filter(Card.IsRelateToEffect,nil,e) local sg=g:Filter(Card.IsRelateToEffect,nil,e)
local num=sg:GetCount() if Duel.Remove(sg,POS_FACEUP,REASON_EFFECT)<1 then return end
if num>0 and Duel.Remove(sg,POS_FACEUP,REASON_EFFECT)~=0 then local ct=Duel.GetOperatedGroup():FilterCount(Card.IsLocation,nil,LOCATION_REMOVED)
Duel.SetLP(tp,lp-num*1000) if ct>0 then
Duel.SetLP(tp,lp-ct*1000)
end end
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