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:
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!
Thanks!
#2. Posted:
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
20202002002002020
- 0useful
- 0not useful
#3. Posted:
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?
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?
- 0useful
- 0not useful
#4. Posted:
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
- 0useful
- 0not useful
#5. Posted:
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
20202020
- 0useful
- 0not useful
#6. Posted:
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.
- 0useful
- 0not useful
#7. Posted:
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
- 0useful
- 0not useful
#8. Posted:
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
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.