You are viewing our Forum Archives. To view or take place in current topics click here.
RSPS coding need help! Rep+
Posted:

RSPS coding need help! Rep+Posted:

aflack_duck78
  • Wise One
Status: Offline
Joined: Apr 09, 201113Year Member
Posts: 531
Reputation Power: 26
Status: Offline
Joined: Apr 09, 201113Year Member
Posts: 531
Reputation Power: 26
Alright so I'm coding boss drops and monster drops and I don't know how to add the percentage of drop rate and what the bosses drop. If anyone could help me by sending me a video or WRITTEN help please comment or pm me. Will rep you a couple times if you are successful
Thanks!
#2. Posted:
aflack_duck78
  • Wise One
Status: Offline
Joined: Apr 09, 201113Year Member
Posts: 531
Reputation Power: 26
Status: Offline
Joined: Apr 09, 201113Year Member
Posts: 531
Reputation Power: 26
Bump
20202002002002020
#3. Posted:
Darkenednexus
  • New Member
Status: Offline
Joined: Dec 24, 201112Year Member
Posts: 10
Reputation Power: 0
Status: Offline
Joined: Dec 24, 201112Year Member
Posts: 10
Reputation Power: 0
I don't know what base you're using but when i do percentages i do int PerChance = Math.rand(4) /*generates a random number between 0 -3*/

and then i use if statements for each number. soo for example

if(PerChance = 0)
{
//put code here to drop that item.
}

does this help?
#4. Posted:
aflack_duck78
  • Wise One
Status: Offline
Joined: Apr 09, 201113Year Member
Posts: 531
Reputation Power: 26
Status: Offline
Joined: Apr 09, 201113Year Member
Posts: 531
Reputation Power: 26
A little. I'm looking tochange the drops for the bosses. In now know how to do the percentage thanks
#5. Posted:
aflack_duck78
  • Wise One
Status: Offline
Joined: Apr 09, 201113Year Member
Posts: 531
Reputation Power: 26
Status: Offline
Joined: Apr 09, 201113Year Member
Posts: 531
Reputation Power: 26
Bump I still need help!

20202020
#6. Posted:
aflack_duck78
  • Wise One
Status: Offline
Joined: Apr 09, 201113Year Member
Posts: 531
Reputation Power: 26
Status: Offline
Joined: Apr 09, 201113Year Member
Posts: 531
Reputation Power: 26
You guys are killing me I need help.
#7. Posted:
BillyscapeOwner
  • New Member
Status: Offline
Joined: Feb 06, 201311Year Member
Posts: 41
Reputation Power: 1
Status: Offline
Joined: Feb 06, 201311Year Member
Posts: 41
Reputation Power: 1
is the base 718 or 667 because i can help
#8. Posted:
aflack_duck78
  • Wise One
Status: Offline
Joined: Apr 09, 201113Year Member
Posts: 531
Reputation Power: 26
Status: Offline
Joined: Apr 09, 201113Year Member
Posts: 531
Reputation Power: 26
BillyscapeOwner wrote is the base 718 or 667 because i can help



It's 317

20200200220222020202
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.