YGOPRO Forum

Welcome Guest! To enable all features please try to register or login.
Options
Go to last post Go to first unread
BananaPhone42  
#1 Posted : Tuesday, February 16, 2021 12:59:33 AM(UTC)
BananaPhone42

Rank: Advanced Member

Joined: 1/16/2018(UTC)
Posts: 199

Thanks: 14 times
Was thanked: 11 time(s) in 11 post(s)
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.


Code:

	--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:
Code:

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:
Code:

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)

Edited by user Thursday, February 25, 2021 5:15:57 PM(UTC)  | Reason: Not specified

Hippocampus1901  
#2 Posted : Monday, February 22, 2021 3:17:34 AM(UTC)
Hippocampus1901

Rank: Advanced Member

Joined: 12/29/2015(UTC)
Posts: 180

Thanks: 13 times
Was thanked: 42 time(s) in 42 post(s)
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.

Edited by user Monday, February 22, 2021 3:19:13 AM(UTC)  | Reason: wrong card name

thanks 1 user thanked Hippocampus1901 for this useful post.
BananaPhone42  
#3 Posted : Thursday, February 25, 2021 5:14:50 PM(UTC)
BananaPhone42

Rank: Advanced Member

Joined: 1/16/2018(UTC)
Posts: 199

Thanks: 14 times
Was thanked: 11 time(s) in 11 post(s)
Originally Posted by: Hippocampus1901 Go to Quoted Post
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.

Edited by user Thursday, February 25, 2021 5:15:37 PM(UTC)  | Reason: Not specified

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error