Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Immunity?

Say you have a fire mage as a class, and you want the fire mage to have a suit of armor that makes him 100% immune to fire damage how would one make this ?

I was thinking first make fire an element.
This will reduce fire damage by half

But we want 100%

What if we make "NO Fire damage" a state as well
This will reduce fire damage by half

so shouldn't the suit of armor now have 100% fire immunity ?

Does anyone think this would actually work ?
 
I don't have RM open right now so I can't test it, however I'm wondering if a Class' innate resistances and an armor's resistances (they can have them right? XD ) can be stacked. So then apply highest possible resistance on the Fire Mage's class AND armor.

Note that if you create an immune to fire state that the state will be constantly on the character (I can't remember if RM allows various states to be stacked but I assume it does) but in that case, when the armor is removed you have to ensure the state comes off as well ( I don't usually have armor that induces states so I'm not too sure on this)
 
Unfortunately, no.

50% of 50% is 25%, not 0%

that being said, you could set the Element Efficiency of the FireMage class to D (50%), then without the armor he would be 50% immune.
With the armor he would be 75% immune (25% damage), and with both the armor & the state he would be...... Do the math......

Spoiler (Highlight to cheat): 87.5% immune (12.5% damage) :scruff:

Otherwise, we'd have to modify the scripts to add the element correction values instead of multiplying them.

Be Well
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top