Commit 863ab270 authored by 未闻皂名's avatar 未闻皂名

2022/5/7 新增:暗冥大道,更新翻译,修复bug

parent d64e1167
Pipeline #12525 passed with stages
in 8 minutes and 25 seconds
No preview for this file type
......@@ -24,7 +24,7 @@ end)
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local race=e:GetLabel()
local filter=RD.Filter(cm.filter,race)
RD.SelectAndDoAction(aux.Stringid(m,1),filter,tp,0,LOCATION_MZONE,1,3,nil,function(g)
RD.SelectAndDoAction(aux.Stringid(m,1),filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,3,nil,function(g)
g:ForEach(function(c)
RD.ChangeRace(e,c,race,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
end)
......
local m=120217020
local cm=_G["c"..m]
cm.name="暗冥大道"
function cm.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--Atk & Def
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_UPDATE_ATTACK)
e2:SetRange(LOCATION_FZONE)
e2:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e2:SetTarget(cm.adtg)
e2:SetValue(400)
c:RegisterEffect(e2)
local e3=e2:Clone()
e3:SetCode(EFFECT_UPDATE_DEFENSE)
e3:SetValue(-1500)
c:RegisterEffect(e3)
end
--Atk & Def
function cm.adtg(e,c)
return c:IsFaceup() and c:IsLevelAbove(5) and c:IsAttribute(ATTRIBUTE_DARK) and c:IsRace(RACE_SPELLCASTER)
end
\ No newline at end of file
local m=120217021
local list={120105001}
local cm=_G["c"..m]
cm.name="七星道护"
cm.name="七星道护"
function cm.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
......
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