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

Replace c60152913.lua

parent c45ba33a
...@@ -313,14 +313,11 @@ function c60152913.e22902op(e,tp,eg,ep,ev,re,r,rp) ...@@ -313,14 +313,11 @@ function c60152913.e22902op(e,tp,eg,ep,ev,re,r,rp)
end end
function c60152913.e22903tg(e,tp,eg,ep,ev,re,r,rp,chk) function c60152913.e22903tg(e,tp,eg,ep,ev,re,r,rp,chk)
local p=PLAYER_ALL local p=PLAYER_ALL
if chk==0 then return Duel.GetFlagEffect(tp,60152903)>0 and Duel.GetMatchingGroupCount(aux.NOT(Card.IsPublic),tp,0,LOCATION_HAND,nil)>0 end if chk==0 then return Duel.GetFlagEffect(tp,60152903)>0 end
Duel.SetTargetPlayer(p) Duel.SetTargetPlayer(p)
Duel.SetTargetParam(1000) Duel.SetTargetParam(1000)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,p,1000) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,p,1000)
end end
function c60152913.e22903opfilter(c)
return c:IsAbleToDeck()
end
function c60152913.e22903op(e,tp,eg,ep,ev,re,r,rp) function c60152913.e22903op(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)
if p==PLAYER_ALL then if p==PLAYER_ALL then
...@@ -328,7 +325,7 @@ function c60152913.e22903op(e,tp,eg,ep,ev,re,r,rp) ...@@ -328,7 +325,7 @@ function c60152913.e22903op(e,tp,eg,ep,ev,re,r,rp)
Duel.Damage(1,d,REASON_EFFECT,true) Duel.Damage(1,d,REASON_EFFECT,true)
Duel.RDComplete() Duel.RDComplete()
Duel.BreakEffect() Duel.BreakEffect()
local g=Duel.GetMatchingGroup(c60152913.e22903opfilter,tp,LOCATION_MZONE,0,nil) local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,LOCATION_MZONE,0,nil)
local tc=g:GetFirst() local tc=g:GetFirst()
while tc do while tc do
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
......
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