Hi there, i am planning to make a gacha system where you can get prizes by spinning and spending the ticket. I have stumbled upon a problem where the common event should convert 50 Tier 1 Ticket to 1 Tier 2 Ticket for me, but i cannot find the command or function to implement and do so. Maybe a script or plugin command could do the job, but i don't know what to type in, therefore i started by finding help here.
Item>Another Item Converter
RPG Maker MV Supportit really depends how you make the gacha system, manually or through a gacha plugin you use.
incase you event it and want 50 tier ticket change by 2 Tier ticket or win when 50 is used.
make a variable that counts each spin,
if variale x >= 50
price + 2T ticket
end
around that does the trick
incase you event it and want 50 tier ticket change by 2 Tier ticket or win when 50 is used.
make a variable that counts each spin,
if variale x >= 50
price + 2T ticket
end
around that does the trick
Something like this?
Code:
◆Comment:Count T1 tickets (Control Variables > Game Data > Item)
◆Control Variables:#0001 Count = The number of T1 Ticket
◆Comment:If there's at least 50 (Conditional Branch > Variable)...
◆If:Count ≥ 50
◆Comment:Then remove 50 T1 tickets and add 1 T2 ticket!
◆Change Items:T1 Ticket - 50
◆Change Items:T2 Ticket + 1
◆
:End
Thanks guys. I got it working.
Moderator note: As this is done by eventing, not a plugin, I am moving this to RPGMaker MV
@Joka If this has solved your query to your full satisfaction, please Report your post and ask for the thread to be closed.
Thanks.
@Joka If this has solved your query to your full satisfaction, please Report your post and ask for the thread to be closed.
Thanks.
Original thread: https://forums.rpgmakerweb.com/threads/item-another-item-converter.118846/