Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Enemy Hp
« previous next »
  • Print
Pages: [1]

Author Topic: Enemy Hp  (Read 1828 times)

Offline hotshot961

  • Member
  • Initiate
  • *
  • Posts: 6
Enemy Hp
« 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
Logged

Offline Dragoon de Sol

  • Common sense isn't very common
  • Agent
  • *
  • Posts: 800
(No subject)
« Reply #1 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.
Logged

Offline hotshot961

  • Member
  • Initiate
  • *
  • Posts: 6
(No subject)
« Reply #2 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??
Logged

Offline RPG noob

  • Member
  • Initiate
  • *
  • Posts: 36
(No subject)
« Reply #3 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.
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Enemy Hp
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum