Healing Rod RPGMaker MV

Cobax93

Villager
Member
Joined
Apr 12, 2017
Messages
15
Reaction score
0
First Language
English
Primarily Uses
N/A
I am struggling to figure out how i can make a weapon that heals instead of damaging enemies like in Final Fantasy series. like what plugins that have i am looking for or is there is a tips & Tricks from Yanfly that gives an example? i also wanted to make sure that the healing rod can also actually damage undead enemies too
 

Cyberhawk

Bravelion Leader
Veteran
Joined
Jan 9, 2019
Messages
97
Reaction score
66
First Language
English
Primarily Uses
RMMZ
You need to set it as a skill with that specific effect and use yep weapon unleash to replace that weapon's basic attack.
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
1,933
Reaction score
1,380
First Language
EN
Primarily Uses
RMMZ
Note that the WeaponSkill plugin included by default in new RMMV projects can do the skill replacement thing, so you don't need a paid plugin for that (unless you want the extra features).

Not sure about the best way to make a skill damage undead but heal others. You can't just conditionally multiply the damage by -1, since by default the minimum damage formula result is 0. :kaoslp:

Edit @Cobax93: maybe a damage formula like this?
Code:
var r = a.atk * 4 - b.def * 2; if (b.elementRate(10) > 1) { b.gainHp(-r); 0 } else r
This says "let r temporarily store the result of the damage formula (a.atk * 4 - b.def * 2 in this case); if the target is weak to element 10, apply r damage and set the skill's heal amount to 0; else make the skill heal r". Haven't tested but I think it'll work; just need to give your undead enemies a weakness (> 100% element rate) to a specific element and change the numbers as needed~
 
Last edited:

Cobax93

Villager
Member
Joined
Apr 12, 2017
Messages
15
Reaction score
0
First Language
English
Primarily Uses
N/A

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

Latest Threads

Latest Posts

Latest Profile Posts

Is there anyone need help with anything except art and music?
is Gotcha Gotcha Games Inc. = KADOKAWA CORPORATION? I haven't found this topic yet, Want to know for credits on my game. Thanks.
If you get everything you want, when you want it, it kills your creativity. If you never get anything you want, you're forced to be creative with what you have.
Old chiptune loops free for use.
I think I've got my hero designs pretty much finialised ( still got some tweaks. ) In the end it'll be the four outfit colour variants with four different skintones.

Forum statistics

Threads
104,299
Messages
1,005,377
Members
135,818
Latest member
Hennet91
Top