elements and healing effects

Crimson Dragon Inc.

Crimson Dragon
Veteran
Joined
Aug 8, 2012
Messages
921
Reaction score
134
First Language
english
Primarily Uses
RMMV
ok.... i hope this is right board.....


first and foremost i have decided to make a life element for all healing spells


the thing is i dont know how the elemental rate would effect healing effects.... is it reverse of offensive abilities? if i set it to a negative would it have a damaging effect on the target (looking at undead here....)
 
Last edited by a moderator:

Oddball

Veteran
Veteran
Joined
Sep 4, 2014
Messages
1,923
Reaction score
535
First Language
English
Primarily Uses
N/A
as i understand it. the higher the elemental rate the higher the number would be for both damage and healing. at least thats how it works for ace. try it out for yourself
 

Dr. Cakey

Veteran
Veteran
Joined
Jun 7, 2012
Messages
47
Reaction score
9
First Language
English
Primarily Uses
RMMV
I haven't used MV, but I assume it works basically the same as VX Ace. As I understand it, RPG Maker doesn't really distinguish between 'damage' and 'healing'. If an ability 'heals', all that means is the damage is negative (so when you set a skill to "HP Recover", RPG Maker multiplies the result of the skill's damage formula by -1). When damage calculation occurs, RPG Maker just checks if the target gained or lost HP, and then gives the player the appropriate message ("(Actor) took 20 damage", "(Actor) regained 20HP", etc) based on that.


Let's say I have a spell that heals the target for 50HP. Because I'm extremely creative, let's call this spell 'Cure'.

  • If I cast Cure on a completely ordinary target, it regains 50HP.
  • If I cast Cure on an enemy that has Shell or something, so it takes half magic damage, it regains 25HP.
  • If I for some reason make a fire-element spell called Flame Cure or something, and cast it on a lava golem that takes 50% fire damage, it will regain 25HP.
  • If I cast Flame Cure on an ice beetle that takes 200% fire damage, it will regain 100HP.
  • If I cast Flame Cure on a fire elemental, which 100% absorbs fire damage (can MV do that natively? you need a script to do that in Ace), it will take 50 damage.

Basically, if you make a 'heal' element, undead enemies will react to it exactly the way you want them to. For myself, I also like that the damage rate parameters don't distinguish between damage and healing, because it gives a Shell a slight drawback. People have also made various 'undead HP'-type scripts which just cause all healing to become damage, rather than rely on elemental affinities.


Going the elemental route means you can easily make abilities that damage living targets but heal undead ones, which is also neat.
 

Malik

Warper
Member
Joined
Jul 16, 2012
Messages
1
Reaction score
0
First Language
English
Primarily Uses
the thing is i dont know how the elemental rate would effect healing effects.... is it reverse of offensive abilities? if i set it to a negative would it have a damaging effect on the target (looking at undead here....)


I'm assuming you literally just made a Type of Element called Life and set an ability to Recover HP with Life element.


It will work exactly as it all does with damage. Something with 200% element rate (say fire) will take double damage from fire. Something with 200% life element rate will heal for double from that element. I tried doing this myself and the editor doesn't even go into a negative. I'm sure there's some state + damage formula stuff you could do for undead enemies but I believe there's plugins for that as well.
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,096
Members
137,587
Latest member
Usagiis
Top