Commit 28cfc2d4 authored by DailyShana's avatar DailyShana

fix

parent 48d9c91f
...@@ -20,6 +20,7 @@ function c17092736.cfop(e,tp,eg,ep,ev,re,r,rp) ...@@ -20,6 +20,7 @@ function c17092736.cfop(e,tp,eg,ep,ev,re,r,rp)
for i=1,ct do for i=1,ct do
t[i]=i t[i]=i
end end
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(17092736,0))
local ac=Duel.AnnounceNumber(p,table.unpack(t)) local ac=Duel.AnnounceNumber(p,table.unpack(t))
local g=Duel.GetDecktopGroup(1-p,ac) local g=Duel.GetDecktopGroup(1-p,ac)
if g:GetCount()>0 then if g:GetCount()>0 then
......
...@@ -17,7 +17,7 @@ function c1804528.descon(e,tp,eg,ep,ev,re,r,rp) ...@@ -17,7 +17,7 @@ function c1804528.descon(e,tp,eg,ep,ev,re,r,rp)
end end
function c1804528.desop(e,tp,eg,ep,ev,re,r,rp) function c1804528.desop(e,tp,eg,ep,ev,re,r,rp)
local g1=Duel.GetFieldGroup(tp,0,LOCATION_HAND) local g1=Duel.GetFieldGroup(tp,0,LOCATION_HAND)
local g2=Duel.GetMatchingGroup(aux.TRUE,tp,0,LOCATION_MZONE,nil) local g2=Duel.GetFieldGroup(tp,0,LOCATION_MZONE)
local opt=0 local opt=0
if g1:GetCount()>0 and g2:GetCount()>0 then if g1:GetCount()>0 and g2:GetCount()>0 then
opt=Duel.SelectOption(1-tp,aux.Stringid(1804528,1),aux.Stringid(1804528,2)) opt=Duel.SelectOption(1-tp,aux.Stringid(1804528,1),aux.Stringid(1804528,2))
......
...@@ -30,7 +30,8 @@ end ...@@ -30,7 +30,8 @@ end
function c64207696.damcon(e,tp,eg,ep,ev,re,r,rp) function c64207696.damcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local rc=eg:GetFirst() local rc=eg:GetFirst()
return rc:IsRelateToBattle() and rc:IsSetCard(0x9f) and rc:IsFaceup() and rc:IsControler(tp) return rc:IsRelateToBattle() and rc:IsStatus(STATUS_OPPO_BATTLE)
and rc:IsFaceup() and rc:IsSetCard(0x9f) and rc:IsControler(tp)
end end
function c64207696.damtg(e,tp,eg,ep,ev,re,r,rp,chk) function c64207696.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
...@@ -39,6 +40,7 @@ function c64207696.damtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -39,6 +40,7 @@ function c64207696.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,1000) Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,1000)
end end
function c64207696.damop(e,tp,eg,ep,ev,re,r,rp) function c64207696.damop(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM) local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
Duel.Damage(p,d,REASON_EFFECT) Duel.Damage(p,d,REASON_EFFECT)
end 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