Results 1 to 4 of 4
  1. #1
    Daslee's Avatar
    Daslee is offline Member
    Join Date
    Mar 2012
    Location
    Plunge, Lithuania
    Posts
    36
    Rep Power
    0

    Default Calculating damage

    Hello. Who can give me formula for calculate damage im doing? I have attack, defense and health. Enemy has also attack, defense and health. I tried about ~2 hours to make it, but my atk was stronger and health than enemy defense and health, but he anyway killed me.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,450
    Rep Power
    19

    Default Re: Calculating damage

    Excuse me?
    What does this have to do with Java?
    Please do not ask for code as refusal often offends.

  3. #3
    Daslee's Avatar
    Daslee is offline Member
    Join Date
    Mar 2012
    Location
    Plunge, Lithuania
    Posts
    36
    Rep Power
    0

    Default Re: Calculating damage

    I don't know. :D But now im coding game in Java.
    Last edited by Daslee; 04-05-2012 at 06:16 PM.

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,450
    Rep Power
    19

    Default Re: Calculating damage

    Maybe if you reword your problem with respect to Java?
    Please do not ask for code as refusal often offends.

Similar Threads

  1. need help with calculating something
    By mikec420 in forum New To Java
    Replies: 13
    Last Post: 09-29-2011, 09:14 PM
  2. Helping on Calculating Pie
    By bubbamcgoo in forum New To Java
    Replies: 10
    Last Post: 02-22-2011, 02:23 AM
  3. Calculating Total?
    By ethemartian in forum New To Java
    Replies: 6
    Last Post: 02-21-2011, 04:09 AM
  4. calculating the hypotenuse
    By Latanyar in forum New To Java
    Replies: 6
    Last Post: 10-12-2010, 09:20 AM
  5. Help in calculating time different!
    By rocky86 in forum New To Java
    Replies: 6
    Last Post: 10-11-2010, 04:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •