Commit 69bb8f1d authored by Amiya's avatar Amiya

修复

parent c38e1030
Pipeline #26978 passed with stages
in 1 minute and 1 second
...@@ -27,15 +27,20 @@ function s.initial_effect(c) ...@@ -27,15 +27,20 @@ function s.initial_effect(c)
local e4=e3:Clone() local e4=e3:Clone()
e4:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE) e4:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e4:SetCode(EFFECT_AVOID_BATTLE_DAMAGE) e4:SetCode(EFFECT_AVOID_BATTLE_DAMAGE)
e4:SetTargetRange(LOCATION_MZONE,0)
c:RegisterEffect(e4) c:RegisterEffect(e4)
local e5=Effect.CreateEffect(c) local e5=e4:Clone()
e5:SetType(EFFECT_TYPE_FIELD) e5:SetCode(EFFECT_NO_BATTLE_DAMAGE)
e5:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e5:SetTargetRange(0,LOCATION_MZONE)
e5:SetRange(LOCATION_SZONE)
e5:SetTargetRange(0,1)
e5:SetCondition(s.ieecon)
e5:SetCode(id)
c:RegisterEffect(e5) c:RegisterEffect(e5)
local e6=Effect.CreateEffect(c)
e6:SetType(EFFECT_TYPE_FIELD)
e6:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e6:SetRange(LOCATION_SZONE)
e6:SetTargetRange(0,1)
e6:SetCondition(s.ieecon)
e6:SetCode(id)
c:RegisterEffect(e6)
end end
function s.thcon(e,tp,eg,ep,ev,re,r,rp) function s.thcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsEnvironment(33900648) return Duel.IsEnvironment(33900648)
......
...@@ -154,6 +154,7 @@ function c33900648.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -154,6 +154,7 @@ function c33900648.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
end end
Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(id,1))
end end
function c33900648.desop(e,tp,eg,ep,ev,re,r,rp) function c33900648.desop(e,tp,eg,ep,ev,re,r,rp)
if bit.band(c33900648[Duel.GetTurnPlayer()],ATTRIBUTE_EARTH)==0 if bit.band(c33900648[Duel.GetTurnPlayer()],ATTRIBUTE_EARTH)==0
...@@ -170,6 +171,7 @@ function c33900648.hdtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -170,6 +171,7 @@ function c33900648.hdtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
local turnp=Duel.GetTurnPlayer() local turnp=Duel.GetTurnPlayer()
Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,turnp,1) Duel.SetOperationInfo(0,CATEGORY_HANDES,nil,0,turnp,1)
Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(id,2))
end end
function c33900648.hdop(e,tp,eg,ep,ev,re,r,rp) function c33900648.hdop(e,tp,eg,ep,ev,re,r,rp)
if bit.band(c33900648[Duel.GetTurnPlayer()],ATTRIBUTE_WATER)==0 if bit.band(c33900648[Duel.GetTurnPlayer()],ATTRIBUTE_WATER)==0
...@@ -183,6 +185,7 @@ function c33900648.damtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -183,6 +185,7 @@ function c33900648.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
local turnp=Duel.GetTurnPlayer() local turnp=Duel.GetTurnPlayer()
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,turnp,1000) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,turnp,1000)
Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(id,3))
end end
function c33900648.damop(e,tp,eg,ep,ev,re,r,rp) function c33900648.damop(e,tp,eg,ep,ev,re,r,rp)
if bit.band(c33900648[Duel.GetTurnPlayer()],ATTRIBUTE_FIRE)==0 if bit.band(c33900648[Duel.GetTurnPlayer()],ATTRIBUTE_FIRE)==0
......
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