Commit 7882a452 authored by Tachibana's avatar Tachibana

ndyd

parent a6a72417
...@@ -12,14 +12,14 @@ function c4231015.initial_effect(c) ...@@ -12,14 +12,14 @@ function c4231015.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_EQUIP) e1:SetType(EFFECT_TYPE_EQUIP)
e1:SetCode(EFFECT_ADD_TYPE) e1:SetCode(EFFECT_ADD_TYPE)
e1:SetCondition(function(e,c) return not c:IsType(TYPE_DUAL) end) e1:SetCondition(function(e,c) return not e:GetHandler():GetEquipTarget():IsType(TYPE_DUAL) end)
e1:SetValue(TYPE_TUNER) e1:SetValue(TYPE_TUNER)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--duel status --duel status
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_EQUIP) e2:SetType(EFFECT_TYPE_EQUIP)
e2:SetCode(EFFECT_DUAL_STATUS) e2:SetCode(EFFECT_DUAL_STATUS)
e2:SetCondition(function(e,c) return c:IsType(TYPE_DUAL) end) e2:SetCondition(function(e,c) return e:GetHandler():GetEquipTarget():IsType(TYPE_DUAL) end)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--Equip limit --Equip limit
local e3=Effect.CreateEffect(c) local e3=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