Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: hotshot961 on November 10, 2007, 02:45:00 AM

Title: Enemy Hp
Post by: hotshot961 on November 10, 2007, 02:45:00 AM
Can anyone help me out?? I Set the variables just like the ABS guide said to do...But it seems that everytime my hero attacks an enemy their hp doesnt decrease and they dont die...Help is needed
Title:
Post by: Dragoon de Sol on November 10, 2007, 03:23:21 AM
Do you decrease the variable? Do you have an algorithm set that subtracts the HP depending on the defense of the enemy and the attack of the player?

If so, post your coding and we'll see what we can do.
Title:
Post by: hotshot961 on November 10, 2007, 01:52:22 PM
Quote
Originally posted by Dragoon de Sol
Do you decrease the variable? Do you have an algorithm set that subtracts the HP depending on the defense of the enemy and the attack of the player?

If so, post your coding and we'll see what we can do.


Ah that might be the problem that I have. I dont have an algorithm set..and I really dont know how to do that. Yes I made a variable and I do decrease It but I never set an algoritm. Can you show me how??
Title:
Post by: RPG noob on November 11, 2007, 08:01:22 AM
Which factors affect the amount of damage that is done?  Your attack?  Enemy defense?  Attributes?  All of these need to be taken into account if you are making a damage algorithm.