Valossa
  • Valossa
  • Advanced Member Topic Starter
2017-02-08T12:34:00Z
While this card reamis face-up on the field its type is Fairy, while in Graveyard is warrior
Michael Lawrence Dee
2017-02-08T12:41:59Z
Check Skull Servant cards, modify them by using constants.lua and using the appropriate code.
Now this is how I play:
Valossa
  • Valossa
  • Advanced Member Topic Starter
2017-02-08T12:48:30Z
Ok thanks friend Michael 🙂
Valossa
  • Valossa
  • Advanced Member Topic Starter
2017-02-08T13:15:24Z
Originally Posted by: Michael Lawrence Dee 

Check Skull Servant cards, modify them by using constants.lua and using the appropriate code.



This way?

 function c12345678.initial_effect(c)
  --change race
	local e1=Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_SINGLE)
	e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
	e1:SetRange(LOCATION_MZONE)
	e1:SetCode(EFFECT_CHANGE_RACE)
	e1:SetValue(0x4)
	c:RegisterEffect(e1)
        local e2=e1:Clone()
       e2:SetRange(LOCATION_GRAVE)
       e2:SetValue(0x1)
       c:RegisterEffect(e2)
end
Michael Lawrence Dee
2017-02-08T13:20:40Z
Wightprince changes its name on the field?!
Now this is how I play:
Valossa
  • Valossa
  • Advanced Member Topic Starter
2017-02-08T13:23:22Z
no only in grave, but i cath this effect and modified it, the original is
--change code
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_GRAVE)
e1:SetCode(EFFECT_CHANGE_CODE)
e1:SetValue(32274490)
c:RegisterEffect(e1)

and i turned to it
function c12345678.initial_effect(c)
--change race
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_CHANGE_RACE)
e1:SetValue(0x4)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetRange(LOCATION_GRAVE)
e2:SetValue(0x1)
c:RegisterEffect(e2)
end