Skill formula and scope help

Hey everyone, I was looking around and I cant seem to find anything that helps with this, so I decided to post it here since this is going to be a game mechanic in my game.


Basically, I want to make an Item called Water Bottle. The water bottle can be used in battle to do both A: heal you, or one of your party members. Or B: deal damage to a certain 


enemy type. for example, If there is a fire monster in the battle, I can use the water bottle on it to deal damage instead of healing it. but I cant figure out the damage formula for how to do that.


and I also cant seem to find a plug in for targeting anyone on the battle field. Ive seen a post where someone said that yanflys skill core plug-in can help, but I dont know how lunatic mode works at all. if anyone has any info on how I could get this accomplished it would be greatly appreciated. 
bump
First you should state wich maker you're using. Your profile says "Primarily Uses: RMVX Ace" but your post says about "plugin".


Assuming it's for RM MV.


You can try this: https://victorenginescripts.wordpress.com/rpg-maker-mv/action-resistance/


There is a plugin command that, when enabled, If you set a resistance with a total value higher than 100%, the damage/healing will be inverted.


Now about the targeting, i'm going to release a plugin for that this month (take a look at my signature link for details)..
holy friggin lazers! the legendary victor sant is answering my post, what an honor! big fan.


I do primarily use ACE and mainly your scripts as well, but for now I wanted to try out MV since its relatively new.


but regarding the water bottle Item, Ill definitely be waiting for this plug-in of yours. and also becoming a patreon of


yours as well, simply because I love your content. thank you for your help. you have no Idea how much this means to me dude.


(also any chance you gonna be releasing that glorious battle system anytime soon? lol)

Original thread: https://forums.rpgmakerweb.com/threads/skill-formula-and-scope-help.55673/