Commit b1b28349 authored by Tachibana's avatar Tachibana

tnndx

parent de8ed523
...@@ -308,3 +308,14 @@ function Tenka.SelectGroupNew(tp,desc,cancelable,g,f,cg,min,max,...) ...@@ -308,3 +308,14 @@ function Tenka.SelectGroupNew(tp,desc,cancelable,g,f,cg,min,max,...)
Duel.Hint(tp,HINT_SELECTMSG,desc) Duel.Hint(tp,HINT_SELECTMSG,desc)
return g:SelectSubGroup(tp,f,cancelable,min,max,...) return g:SelectSubGroup(tp,f,cancelable,min,max,...)
end end
--
function Tenka.Momoko(c)
--direct attack
local ea=Effect.CreateEffect(c)
ea:SetType(EFFECT_TYPE_SINGLE)
ea:SetCode(EFFECT_DIRECT_ATTACK)
c:RegisterEffect(ea)
end
function Tenka.MomokoBattleCon(e,tp,eg,ep,ev,re,r,rp)
return ep~=tp and Duel.GetAttackTarget()==nil
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