• All, Gmail is currently rejecting messages from my host. I have a ticket in process, but it may take some time to resolve. Until further notice, do NOT use Gmail for your accounts. You will be unable to receive confirmations and two factor messages to login.

Item + restore health

Hello friends of the Open Bor and Chrono Crash. Trying my best to word this correctly. If game player is damaged and enemy or crate Etc. drops items and for instance can drop a medical pack or perhaps food item that restores health. Perhaps a smaller item restores 1/2 half of health meter or [HP] and larger pack restores full [HP]. That just easiest scenario I can think about. Is there a good example what the code might appear like especially if you wanted to make variable more complex. Rather perhaps particular creation. Maybe one 1/4, even. Lastly maybe items reversed and has negative effects like poison and [HP] goes down percentage. Hopefully I am not asking to complicated per thread :confused: per inquiry. Perhaps categorically belonging in health restoration. I think experienced member could say?

Side note : This keyboard is partiality non functionality - promise to correct any error.
 
Most items in OpenBoR games give either health restore or score so you should be able to create what you want without complex script. Heroes and heroines usually have fixed max health so it's easy to figure out how much HP an item should restore to restore half or full health.
Unless, your heroes and heroines have variable max health such as with levelling system or at least with HP extension, then yes, you'd need script for item to restore exactly half or full health based on current max health.
 
Most items in OpenBoR games give either health restore or score so you should be able to create what you want without complex script. Heroes and heroines usually have fixed max health so it's easy to figure out how much HP an item should restore to restore half or full health.
Unless, your heroes and heroines have variable max health such as with levelling system or at least with HP extension, then yes, you'd need script for item to restore exactly half or full health based on current max health.
So I can find out more about this in the manual?
 
I guess sceen placement is how I should have worded it. Like if above ground I need to learn coordinate and position for each screen
sorry, I cannot understand what you want to do, maybe we have a language barrier here.
what you want to do, exactly? Can you give us more information please?
 
Back
Top Bottom