Commit 6ca5ec23 authored by Tianchenglipu's avatar Tianchenglipu

Update c59057152.lua

parent 185ee22c
--聖騎士モルドレッド --聖騎士モルドレッド
function c59057152.initial_effect(c) function c59057152.initial_effect(c)
--Attribute Dark --normal monster
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetCode(EFFECT_CHANGE_TYPE) e1:SetCode(EFFECT_ADD_TYPE)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c59057152.eqcon1) e1:SetCondition(c59057152.eqcon1)
e1:SetValue(TYPE_NORMAL+TYPE_MONSTER) e1:SetValue(TYPE_NORMAL)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--Attribute Dark local e2=e1:Clone()
local e2=Effect.CreateEffect(c) e2:SetCode(EFFECT_REMOVE_TYPE)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetValue(TYPE_EFFECT)
e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e2:SetCode(EFFECT_CHANGE_ATTRIBUTE)
e2:SetRange(LOCATION_MZONE)
e2:SetCondition(c59057152.eqcon2)
e2:SetValue(ATTRIBUTE_DARK)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--Attribute Dark
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE) e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e3:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e3:SetCode(EFFECT_UPDATE_LEVEL) e3:SetCode(EFFECT_CHANGE_ATTRIBUTE)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetCondition(c59057152.eqcon2) e3:SetCondition(c59057152.eqcon2)
e3:SetValue(1) e3:SetValue(ATTRIBUTE_DARK)
c:RegisterEffect(e3) c:RegisterEffect(e3)
--spsummon local e4=e3:Clone()
local e4=Effect.CreateEffect(c) e4:SetCode(EFFECT_UPDATE_LEVEL)
e4:SetDescription(aux.Stringid(59057152,0)) e4:SetValue(1)
e4:SetCategory(CATEGORY_SPECIAL_SUMMON)
e4:SetType(EFFECT_TYPE_IGNITION)
e4:SetRange(LOCATION_MZONE)
e4:SetCountLimit(1)
e4:SetCondition(c59057152.spcon)
e4:SetTarget(c59057152.sptg)
e4:SetOperation(c59057152.spop)
c:RegisterEffect(e4) c:RegisterEffect(e4)
--spsummon
local e5=Effect.CreateEffect(c)
e5:SetDescription(aux.Stringid(59057152,0))
e5:SetCategory(CATEGORY_SPECIAL_SUMMON)
e5:SetType(EFFECT_TYPE_IGNITION)
e5:SetRange(LOCATION_MZONE)
e5:SetCountLimit(1)
e5:SetCondition(c59057152.spcon)
e5:SetTarget(c59057152.sptg)
e5:SetOperation(c59057152.spop)
c:RegisterEffect(e5)
end end
function c59057152.eqcon1(e) function c59057152.eqcon1(e)
local eg=e:GetHandler():GetEquipGroup() local eg=e:GetHandler():GetEquipGroup()
......
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