Commit de6db9f2 authored by Amiya's avatar Amiya

Merge branch 'master' of git.moenext.com:mycard/pre-release-database-cdb

parents 48089fd1 344e5388
No preview for this file type
...@@ -52,7 +52,7 @@ function s.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -52,7 +52,7 @@ function s.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function s.atkop(e,tp,eg,ep,ev,re,r,rp) function s.atkop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if not (tc:IsRelateToEffect(e) and tc:IsType(TYPE_MONSTER)) then end if not (tc:IsRelateToEffect(e) and tc:IsType(TYPE_MONSTER)) then return end
local b1=tc:IsFaceup() local b1=tc:IsFaceup()
local b2=e:GetLabel()==1 local b2=e:GetLabel()==1
if b1 and (not b2 or not Duel.SelectYesNo(tp,aux.Stringid(id,2))) then if b1 and (not b2 or not Duel.SelectYesNo(tp,aux.Stringid(id,2))) then
......
...@@ -53,7 +53,7 @@ function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -53,7 +53,7 @@ function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function s.tdop(e,tp,eg,ep,ev,re,r,rp) function s.tdop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if not tc:IsRelateToEffect(e) then end if not (tc:IsRelateToEffect(e) and aux.NecroValleyFilter()(tc)) then return end
local b1=tc:IsAbleToDeck() local b1=tc:IsAbleToDeck()
local b2=e:GetLabel()==1 and tc:IsAbleToRemove() local b2=e:GetLabel()==1 and tc:IsAbleToRemove()
if b1 and (not b2 or not Duel.SelectYesNo(tp,aux.Stringid(id,2))) then if b1 and (not b2 or not Duel.SelectYesNo(tp,aux.Stringid(id,2))) then
......
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