Module talk:Skill calc

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
This talk page is for discussing the Module:Skill calc page.

RE: "Making a module to handle bxp jericowrahl 11:25 am MST 11/02/18":[edit source]

   I have created a function to handle BXP calculation: https://github.com/Arkevorkhat/ArkRSWikiLua/blob/master/SkillCalculator/BonusXP
   Hopefully the math in this is correct. Arkevorkhat (talk) 22:19, 21 December 2018 (UTC)
Lets put this to the test and see if is work :) thanks for coming up with the logic for that as far as i can tell it should work I'm gonna run it in my test space first and then if it works then we will add it into the calc
Sorry for not commenting my code. Hopefully this works. Arkevorkhat (talk) 22:44, 21 December 2018 (UTC)
Ugh... It's been too long since I coded. I forgot to add the doubled xp rate given by bXp. New version is up on the original github link Arkevorkhat (talk) 00:00, 22 December 2018 (UTC)

Just looking at the code it seems that the line "if(bXp>tXp)" Could be if "if(bxp>ceil or floor(tXp/2))" sorry I can't tell if it's supposed to be floor or ceil or either now that I think about it. I'm sick as a dog and foggy through all the drugs jericowrahl (talk) 18:49, 4 January 2019 (UTC)