• Register

Fragment's Moonrise is an open-world real-time strategy game. Explore a vast land rich with demonic creatures. Establish a base, and venture forth to eliminate the powerful beings that have overtaken it. As you venture, you will come across great artifacts to bolster your warriors, and great resources to enhance your fortifications. In this land, the will of the leaders is absolute. One false step, and all of your creation will fall under. Intricate care is necessary for your warriors to survive to the next battle. The creatures of this world are powerful- are you able to stand up to them?

Post news Report RSS Fragment’s Moonrise | #32 Damage, Resistance, Status Effects, Auras, and Elements, Part 1

A look into how we’re integrating many of the various damage and damage-related modifiers, including Elements and Resistances. (part 1)

Posted by on


Welcome to our thirty-second blog post!


In this post, we thought it would be a good idea to begin to go over various damage related systems, and how they were coded into the game.

FM 1v1


The first one is basic damage- its fairly standard: damage is subtracted from the hit target’s health (so long as the spell actually hits the target). And, of course, when the target reaches 0 health, they die.

This is then heavily modified to fit a wide variety of special affects and attributes we’d like to apply atop the damage.

healGif


This can include healing, which is just as simple as damage- instead of subtracting the damage value from the target, add it. Its that simple. The only thing left is to check for overflow, so the target cannot go over their max HP.

Keep in mind: all of these also work alongside Mana, but only when specifically called for.

lifestealGif


Now, we can start to get into the more interesting elements. The first of which is Lifestealing- fairly straightforward, and almost self-explanatory. Dealing damage to a target returns the damage as health. This also works with Mana, so stealing Mana from a target can be done.

AllElements


But the real core damage modifier is its Element. In the world of Fragment’s Moonrise, all spells have a specific Element associated with them: True, Mystic, Fire, Water, Earth, Air, and Death.

In addition, each Creature has a specific set of Elemental Resistances assigned to them.

When a spell hits a target, the spell’s Element is calculated against the target’s Resistance from that particular Element, and damage is applied as defined.

As such, a Resistance set to 100% means the Creature is fully immune to the spell (however, they are not immune to being effected by the spell’s Status Effect, or an Aura; more on that in a coming blog post). Conversely, a Resistance set to -100% means the Creature takes double the damage. Keep in mind: these Resistance also apply to Mana, so if Mana damage is dealt, it takes into account the same property.

What this allows for is additional combat depth- Creatures have varying levels of resistances, so you can’t simply create a full army of high-damaging Units, as some Creatures might be fully resistant to them, and you’ll be rendered helpless and at their mercy should you ever encounter them. It pushes a much more diverse army composition, and also allows for some fairly interesting boss fights (as many of our past blog posts have shown). During the early stages of gameplay, you can get away with having a few extra powerful Units, but as we develop more and more, we definitely intend on making it so you need to expand out your army’s diversity, alongside require you to utilize a Unit’s unique Elemental-coverage to win a fight.

In our next post, we aim to go over the other types of ‘Damage’ modifiers: our Status Effects and Auras, and how they work and function.

---


Thank you for viewing our post! Support and interest for the project has been rapidly growing ever since we began posting here, and we're incredibly grateful for all the wonderful feedback so far! We hope this project interests you as much as we love developing for it, and please look forward to more updates coming in the very near future!

If you’re brand new, consider checking out our trailer and overall description of the game here.

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
Icon
Fragment's Moonrise
Platforms
Windows, Mac, Linux
Developer & Publisher
Yyanthire Studio
Engine
Unity
Contact
Send Message
Release date
Game watch
Follow
Related Games
Fragment's Moonrise
Fragment's Moonrise Real Time Strategy
Related Engines
Unity
Unity Commercial
Related Groups
Yyanthire Studio
Yyanthire Studio Developer & Publisher