BananaPhone42
2021-02-16T00:59:33Z
Ain't heard from me in a long time, ain't ya? It's old Banana, and no, not with a custom monster but with something more interesting. Would you like an Effect Monster to have just a Rank instead of a Level, and without the "L" next to that Monster? Well, have I got the solution you need right here...

WARNING: This was intended for EDOPro. I doubt it'll work for YGOPercy. Also, these cards don't need Tributes to summon, i.e. you can summon a Rank 10 Effect monster without using 2 Tributes. If you want the monster(s) to adhere to those rules, I have a simple fix for that at the bottom. Also, if you want it to be negatable, then remove the "SetProperty" I used. To change the Rank for your Effect Monster, change the X in SetValue to whatever number you want.

ADDENDUM: According to Hippocampus1901, this works in YGOPercy 1.033, at the most.



	--rank instead of level
	local e1=Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_SINGLE)
	e1:SetCode(EFFECT_LEVEL_RANK)
	e1:SetRange(LOCATION_MZONE)
	e1:SetTargetRange(LOCATION_MZONE,0)
	e1:SetValue(X)
	e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
	c:RegisterEffect(e1)
	--Level to zero
	local e2=Effect.CreateEffect(c)
	e2:SetType(EFFECT_TYPE_SINGLE)
	e2:SetRange(LOCATION_MZONE)
	e2:SetTargetRange(LOCATION_MZONE,0)
	e2:SetCode(EFFECT_CHANGE_LEVEL)
	e2:SetValue(0)
	e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
	c:RegisterEffect(e2)
	--allow negative
	local e3=Effect.CreateEffect(c)
	e3:SetType(EFFECT_TYPE_SINGLE)
	e3:SetRange(LOCATION_MZONE)
	e3:SetTargetRange(LOCATION_MZONE,0)
	e3:SetCode(EFFECT_ALLOW_NEGATIVE)
	e3:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
	c:RegisterEffect(e3)

If you want your Rank Effect monsters to use Tributes to summon/set, put these codes at the top of your card.

For Rank 5-6's:

local s,id=GetID()
function s.initial_effect(c)
	local e1=aux.AddNormalSummonProcedure(c,true,false,1,1)
	local e2=aux.AddNormalSetProcedure(c,true,false,1,1)

For Rank 7 and up:

local s,id=GetID()
function s.initial_effect(c)
	local e1=aux.AddNormalSummonProcedure(c,true,false,2,2)
	local e2=aux.AddNormalSetProcedure(c,true,false,2,2)
Hippocampus1901
2021-02-22T03:17:34Z
Very interesting concept!

For the record, this script does indeed work in Percy; I just tested it in 1.033.D. The only SetCodes I didn't recognize were EFFECT_LEVEL_RANK and EFFECT_ALLOW_NEGATIVE, but apparently they were added shortly before the Links Beta was released as they are listed toward the end of the constants file. The thing is (and I don't know if this is true in EDOPro or not), a monster with this script is also treated as a Level 0 monster in addition to its chosen Rank. The card I tested this on was a Level 4 Dragon monster in my database, and I was able to target it with World Legacy Guardragon while in the Graveyard, as well as my opponent destroyed it with Blind Obliteration rolling a 4. But, it was able to attack under Level Limit - Area B and Gravity Bind, and it couldn't be used as Xyz Material for another Rank 4, so for all intents and purposes, the Rank functions as it should.
BananaPhone42
2021-02-25T17:14:50Z
Originally Posted by: Hippocampus1901 

Very interesting concept!

For the record, this script does indeed work in Percy; I just tested it in 1.033.D. The only SetCodes I didn't recognize were EFFECT_LEVEL_RANK and EFFECT_ALLOW_NEGATIVE, but apparently they were added shortly before the Links Beta was released as they are listed toward the end of the constants file. The thing is (and I don't know if this is true in EDOPro or not), a monster with this script is also treated as a Level 0 monster in addition to its chosen Rank. The card I tested this on was a Level 4 Dragon monster in my database, and I was able to target it with World Legacy Guardragon while in the Graveyard, as well as my opponent destroyed it with Blind Obliteration rolling a 4. But, it was able to attack under Level Limit - Area B and Gravity Bind, and it couldn't be used as Xyz Material for another Rank 4, so for all intents and purposes, the Rank functions as it should.



Thanks for testing it for me. I don't really dink around in YGOPercy as much as I used to, so I moved my work to EDOPro. I did do the old "Gravity Bind" test, though. I could still attack with an Effect Monster with a Rank.
BananaPhone42
2021-07-07T03:38:43Z
Yo, Hippo. In EDOPro, monsters that are Level 0 are treated as not having a Level. I should also tell you that Guardragon does not target the monster with my script.