Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> Damage reduction, How do I do that?!
Fonstw
post Dec 29 2012, 12:04 PM
Post #1


Level 3
Group Icon

Group: Member
Posts: 36
Type: Writer
RM Skill: Intermediate




So yeah, when one of the actors deals 50 damage, and the monster has 10 HP (in total or just left) the actor still deals 50 damage.
How do I make that the amount of damage (and healing!) modifies itselves to the amount of HP's the target has if this is less that the amount of healing or damage?

(50 damage to 10 HP means 10 damage instead of 50, same for healing)

Thanks for reading, and please respond if you know.

P.S.: I'm asking for VX and (less neccesary) VX Ace
EDIT: Sorry, that's reversed: I'm asking for Ace and (less neccesary) VX, sorry sad.gif

This post has been edited by Fonstw: Jan 5 2013, 01:17 PM


__________________________
Haven't you ever noticed that "four" is the only number with the same amount of letters as it's definition in the entire English language?
Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
Naridar
post Feb 3 2013, 03:14 AM
Post #2


Level 14
Group Icon

Group: Revolutionary
Posts: 250
Type: Developer
RM Skill: Skilled




That's way too complicated. Just use the following in the damage formula box of the skill:

[<DMG>; b.hp].min

Replace <DMG> with the damage formula you use.


__________________________
Go to the top of the page
 
+Quote Post
   

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th May 2013 - 09:23 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker