Commit f3f06af4 authored by 未闻皂名's avatar 未闻皂名

2021/8/4 新增:念力的落穴,更新翻译

parent c11a0042
No preview for this file type
local m=120186010 local m=120186010
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="加速魔杖手·焰魔女" cm.name="加速魔杖手·焰魔女"
function cm.initial_effect(c) function cm.initial_effect(c)
--Damage --Damage
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
local m=120187030 local m=120187030
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="龙力无序" cm.name="龙咒惊恐障碍"
function cm.initial_effect(c) function cm.initial_effect(c)
--Activate --Activate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
......
local m=120189026
local cm=_G["c"..m]
cm.name="念力的落穴"
function cm.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCondition(cm.condition)
e1:SetTarget(cm.target)
e1:SetOperation(cm.activate)
c:RegisterEffect(e1)
end
--Activate
function cm.confilter1(c)
return c:IsFaceup() and c:IsRace(RACE_PSYCHO)
end
function cm.confilter2(c,tp)
return c:GetSummonPlayer()==tp and c:IsLevelAbove(5)
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(cm.confilter1,tp,LOCATION_MZONE,0,2,nil)
and eg:IsExists(cm.confilter2,1,nil,1-tp)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
local tc=eg:GetFirst()
Duel.SetTargetCard(tc)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,tc,1,0,0)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst()
if tc:IsRelateToEffect(e) then
Duel.Destroy(tc,REASON_EFFECT)
end
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