Cosmetic effect scroll request

henkas

Member
Joined
Jul 8, 2015
Messages
554
Reaction score
24
Hello
so i need scroll that gives you effect on you permanently, but there is a problem that i have already installed function which gives you effect on you when you achieve specific level so lets imagine this type of situation you use that cosmetic effect scroll you get effect on you, but once you reach that level server will add again effect on you so basically you will lose that permanent effect you used before.

TFS 1.2
 

Ramirow

Advanced OT User
Joined
Aug 22, 2009
Messages
450
Reaction score
164
Location
Argentina
I guess the effect part when you gain a level works out. A tip I can give you is that when you assign the permanent effect from the scroll, it gives you an storage.
Then edit your 'reach level, add effect' function to check if it has that storage. If it does, do not assign any effect and that's it.
 

Xikini

I whore myself out for likes
Joined
Nov 17, 2010
Messages
3,928
Reaction score
2,047
Agree with above.
 
Top