Commit 7dc4b3df authored by mallu11's avatar mallu11 Committed by mercury233

fix lgb1 (#1304)

* fix 超魔導竜騎士-ドラグーン・オブ・レッドアイズ

* fix スカーレッド・スーパーノヴァ・ドラゴン
parent 657d5cbf
...@@ -68,7 +68,8 @@ function c37818794.destg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -68,7 +68,8 @@ function c37818794.destg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(aux.TRUE,tp,0,LOCATION_MZONE,1,nil) if chk==0 then return Duel.IsExistingMatchingCard(aux.TRUE,tp,0,LOCATION_MZONE,1,nil)
and c:GetFlagEffect(37818794)<c:GetFlagEffectLabel(37818795) end and c:GetFlagEffect(37818794)<c:GetFlagEffectLabel(37818795) end
c:RegisterFlagEffect(37818794,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1) c:RegisterFlagEffect(37818794,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,1-tp,LOCATION_MZONE) local g=Duel.GetMatchingGroup(aux.TRUE,tp,0,LOCATION_MZONE,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,0) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,0)
end end
function c37818794.desop(e,tp,eg,ep,ev,re,r,rp) function c37818794.desop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -88,7 +88,7 @@ function c99585850.rmop(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -88,7 +88,7 @@ function c99585850.rmop(e,tp,eg,ep,ev,re,r,rp,chk)
if Duel.Remove(g,POS_FACEUP,REASON_EFFECT)~=0 then if Duel.Remove(g,POS_FACEUP,REASON_EFFECT)~=0 then
local op=Duel.GetOperatedGroup() local op=Duel.GetOperatedGroup()
if op:IsContains(c) then if op:IsContains(c) then
if Duel.GetTurnPlayer()==tp and Duel.GetCurrentPhase()==PHASE_END then if Duel.GetTurnPlayer()==tp then
e:GetLabelObject():SetLabel(Duel.GetTurnCount()) e:GetLabelObject():SetLabel(Duel.GetTurnCount())
c:RegisterFlagEffect(99585850,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_SELF_TURN,0,2) c:RegisterFlagEffect(99585850,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_SELF_TURN,0,2)
else else
......
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