Commit ba7a53b1 authored by Nemo Ma's avatar Nemo Ma

Update c60002192.lua

parent 24bce3b7
...@@ -20,10 +20,42 @@ function cm.op(e,tp) ...@@ -20,10 +20,42 @@ function cm.op(e,tp)
local c=e:GetHandler() local c=e:GetHandler()
local g=Duel.GetMatchingGroup(cm.fil,tp,LOCATION_HAND+LOCATION_DECK,LOCATION_HAND+LOCATION_DECK,nil) local g=Duel.GetMatchingGroup(cm.fil,tp,LOCATION_HAND+LOCATION_DECK,LOCATION_HAND+LOCATION_DECK,nil)
Duel.Hint(HINT_CARD,0,m) Duel.Hint(HINT_CARD,0,m)
Duel.RegisterFlagEffect(tp,m,0,0,1)
local tc=g:GetFirst() local tc=g:GetFirst()
while tc do while tc do
tc:SetCardData(CARDDATA_CODE,32274490) tc:SetCardData(CARDDATA_CODE,32274490)
tc:ReplaceEffect(32274490,0,1) tc:ReplaceEffect(m,0,1)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetCode(EFFECT_CHANGE_ATTRIBUTE)
e1:SetValue(ATTRIBUTE_DARK)
e1:SetRange(0xff)
tc:RegisterEffect(e1)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetCode(EFFECT_CHANGE_RACE)
e1:SetValue(RACE_ZOMBIE)
e1:SetRange(0xff)
tc:RegisterEffect(e1)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetCode(EFFECT_CHANGE_LEVEL)
e1:SetValue(1)
e1:SetRange(0xff)
tc:RegisterEffect(e1)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_BASE_ATTACK)
e1:SetValue(300)
tc:RegisterEffect(e1)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_BASE_DEFENSE)
e1:SetValue(200)
tc:RegisterEffect(e1)
tc=g:GetNext() tc=g:GetNext()
end end
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1000) Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1000)
......
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