A Question on the various weapons...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Daven_26d1
    Adept
    • Jun 2007
    • 211

    #16
    Originally posted by pav
    It was written in Javascript, so completely client-side. You entered XdY (+a,+b), it calculated min, max and average. Quite simple script.

    OTOH, don't let that get in your way of writing the ultimate damage calculator
    Well, it turned out that I was actually quite busy after all... but I'm sure I'll have some time for this soon.

    Yeah, javascript was what I'd planned, will probably just add a set of buttons to the form, to allow input of weapon flags, after that its just coming up with a way to make it output pretty.

    By the way, heres the maths for those who don't know:

    A weapon xDy (+0, +z) will, on average, cause x*( (y+1)/2 ) + z damage per strike.
    You sold a Broken Sword (1d2) (-2,-4) {average} (j) for 1 gold.
    The shopkeeper howls in agony!
    You say "Dude, the clue is in the name...".

    Comment

    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎