Commit 6ad3088d authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 73a34056
Pipeline #29586 passed with stages
in 33 minutes and 39 seconds
......@@ -44,13 +44,13 @@ function s.indtg(e,c)
and c:IsRace(RACE_SPELLCASTER) and c:IsAttribute(ATTRIBUTE_FIRE)
end
function s.indct(e,re,r,rp)
local tc=Duel.GetAttacker()
if bit.band(r,REASON_BATTLE)==0 then return 0 end
local tp=e:GetHandlerPlayer()
if tc:IsControler(1-tp) then tc=Duel.GetAttackTarget() end
if bit.band(r,REASON_BATTLE)~=0 then
tc:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
return 1
else return 0 end
local a=Duel.GetAttacker()
local tc=a:GetBattleTarget()
if tc and tc:IsControler(1-tp) then a,tc=tc,a end
tc:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
return 1
end
function s.actcon(e)
local ph=Duel.GetCurrentPhase()
......@@ -64,9 +64,10 @@ function s.filter(e,c)
and c:IsRace(RACE_SPELLCASTER) and c:IsAttribute(ATTRIBUTE_FIRE)
end
function s.damlimit(e,c)
local tc=Duel.GetAttacker()
local tp=e:GetHandlerPlayer()
if tc:IsControler(1-tp) then tc=Duel.GetAttackTarget() end
local a=Duel.GetAttacker()
local tc=a:GetBattleTarget()
if tc and tc:IsControler(1-tp) then a,tc=tc,a end
if tc:GetFlagEffect(id)==0 then
return 1
else return 0 end
......
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