Hello all, looking to get into making some custom items and wanted to start with making some simple regen potions. After digging into Loops for awhile I found some examples but unfortunately I wasn't able to make much progress. Request
Consumable
Restores hp and sp by 3% per 10 second intervals
Lasts for 1 hour
Has a buff icon
Fine with using the assets from 22702 for the consumable
I had found some other posts looking for what I would assume would be something similar to what I need but have not been successful in making it function for me. This is my attempt tinkering around by trying to replace the red pots functionality per a post I found from 2012
501,Red_Potion,Red Potion,0,50,,40,,,,,0xFFFFFFFF,7,2,,,,,,{ percentheal 3,3; for( set @healtime,0; @healtime < 60; set @healtime,@healtime+1 ) { percentheal 10,10; sleep2 10000; } dispbottom "Your healing item has run out."; end; },{},{}
Question
Redking178
Hello all, looking to get into making some custom items and wanted to start with making some simple regen potions. After digging into Loops for awhile I found some examples but unfortunately I wasn't able to make much progress.
Request
I had found some other posts looking for what I would assume would be something similar to what I need but have not been successful in making it function for me. This is my attempt tinkering around by trying to replace the red pots functionality per a post I found from 2012
501,Red_Potion,Red Potion,0,50,,40,,,,,0xFFFFFFFF,7,2,,,,,,{ percentheal 3,3; for( set @healtime,0; @healtime < 60; set @healtime,@healtime+1 ) { percentheal 10,10; sleep2 10000; } dispbottom "Your healing item has run out."; end; },{},{}
Any help would be greatly appreciated.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.