Moooooon-Aisha Posted February 6, 2023 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 116 Reputation: 19 Joined: 09/08/17 Last Seen: April 13, 2023 Share Posted February 6, 2023 (getmonsterinfo(getd("."+.@loc_quest+"_mobs["+.@mob_quest+"]"),MOB_LV)/3) * (3/10); I am using the following code above to calculate some bonus XP or points for my NPC, but it just results in a 0, what would be the correct formula here? Thank you! Quote Link to comment Share on other sites More sharing options...
0 Moooooon-Aisha Posted February 6, 2023 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 116 Reputation: 19 Joined: 09/08/17 Last Seen: April 13, 2023 Author Share Posted February 6, 2023 Resolved my issue with this code ((getmonsterinfo(getd("."+.@loc_quest+"_mobs["+.@mob_quest+"]"),MOB_LV)/3) * 3) / 10); If anyone has a better formula, please feel free to chime in. Quote Link to comment Share on other sites More sharing options...
Question
Moooooon-Aisha
(getmonsterinfo(getd("."+.@loc_quest+"_mobs["+.@mob_quest+"]"),MOB_LV)/3) * (3/10);
I am using the following code above to calculate some bonus XP or points for my NPC, but it just results in a 0, what would be the correct formula here? Thank you!
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.