Commit 4008da0e authored by 未闻皂名's avatar 未闻皂名

2025/11/10 bug修复

parent 914d8e84
Pipeline #41561 passed with stages
in 6 minutes and 58 seconds
No preview for this file type
......@@ -33,9 +33,9 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
if Duel.GetFlagEffect(tp,m)~=0 then return end
RD.CreateAttackLimitEffect(e,cm.atktg,tp,LOCATION_MZONE,0,RESET_PHASE+PHASE_END)
RD.CreateRaceCannotAttackEffect(e,aux.Stringid(m,2),RACE_ALL-RACE_WARRIOR,tp,1,0,RESET_PHASE+PHASE_END)
RD.CreateRaceCannotAttackEffect(e,aux.Stringid(m,1),RACE_ALL-RACE_MACHINE,tp,1,0,RESET_PHASE+PHASE_END)
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
end
function cm.atktg(e,c)
return not RD.IsBaseDefense(c,800)
return not (RD.IsBaseDefense(c,800) and c:IsRace(RACE_MACHINE))
end
\ No newline at end of file
......@@ -30,9 +30,9 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
if Duel.GetFlagEffect(tp,m)~=0 then return end
RD.CreateAttackLimitEffect(e,cm.atktg,tp,LOCATION_MZONE,0,RESET_PHASE+PHASE_END)
RD.CreateRaceCannotAttackEffect(e,aux.Stringid(m,2),RACE_ALL-RACE_WARRIOR,tp,1,0,RESET_PHASE+PHASE_END)
RD.CreateRaceCannotAttackEffect(e,aux.Stringid(m,1),RACE_ALL-RACE_MACHINE,tp,1,0,RESET_PHASE+PHASE_END)
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
end
function cm.atktg(e,c)
return not RD.IsBaseDefense(c,800)
return not (RD.IsBaseDefense(c,800) and c:IsRace(RACE_MACHINE))
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