4,683
edits
m (→Examples) |
|||
Line 181: | Line 181: | ||
<syntaxhighlight lang="js"> | <syntaxhighlight lang="js"> | ||
game.thieving.addXP(1000); | game.thieving.addXP(1000); | ||
game.astrology.setAbyssalXP(game.astrology. | game.astrology.setAbyssalXP(game.astrology.abyssalXP - 700); // For XP, use game.astrology.xp with the addXP command | ||
game.attack.setXP(exp.levelToXP(120) + 1); // For Abyssal XP, use abyssalExp.levelToXP with the setAbyssalXP command | game.attack.setXP(exp.levelToXP(120) + 1); // For Abyssal XP, use abyssalExp.levelToXP with the setAbyssalXP command | ||
</syntaxhighlight> | </syntaxhighlight> |