Thread: PI Range much better way to calc hits?

Results 1 to 2 of 2
  1. #1 PI Range much better way to calc hits? 
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    For those using PI you will know the Range is rather random indeed... I have corrected the maximum hits on all weapons / arrows blah blah.

    I have looked into it and noticed it is using Misc.Random(int) which is a rather crappy way to do... Anyone got any better ideas on generating the hit making it a little less well random.
    Reply With Quote  
     

  2. #2  
    RuneFatality

    Join Date
    May 2009
    Age
    27
    Posts
    2,350
    Thanks given
    1,099
    Thanks received
    388
    Rep Power
    531
    try using a loop for random hits. have something store the range of hits possible, then loop it.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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