In-game Functions: Difference between revisions

No edit summary
Line 206: Line 206:
  <nowiki>addMasteryXpToPool(11, 600);</nowiki>
  <nowiki>addMasteryXpToPool(11, 600);</nowiki>
The above code will result in 150 Mastery Pool XP being added to the skill with ID 11 (Farming) if the player is under 99 in farming. Or 300 Mastery Pool XP being added if the player is over 99
The above code will result in 150 Mastery Pool XP being added to the skill with ID 11 (Farming) if the player is under 99 in farming. Or 300 Mastery Pool XP being added if the player is over 99
<nowiki>addMasteryXP(11, 600, false, true);</nowiki>
The above code will result in 600 Mastery Pool XP being added to the skill with ID 11 (Farming) regardless of the level of the player in the skill.


== Reference Tables ==
== Reference Tables ==
166

edits