Money Making/Development: Difference between revisions

Line 33: Line 33:
Replace "woodcutting" with the skill of choise, as well as "120" with the level of choice.
Replace "woodcutting" with the skill of choise, as well as "120" with the level of choice.
|-
|-
| Example
| <code>mod.getDevContext().patch(PetManager, 'rollForSkillPet').replace(function(o) {})</code>
| Example
| Disables receiving of pets.
|-
|-
| Example
| <code>game.petManager.unlockPetByID(ID)</code>
| Example
| Unlocks a specific pet based on ID.
|-
| <code>game.pets.allObjects</code>
| Gets a list of all pets.
|-
| <code>mod.getDevContext().patch(Skill, 'addXP').replace(function(o) {});</code>
| Disables gaining of experience.
|-
| <code>mod.getDevContext().patch(SkillWithMastery, 'addMasteryXP').replace(function(o) {});</code>
| Disable gaining of mastery experience.
|-
| <code>mod.getDevContext().patch(SkillWithMastery, 'addMasteryPoolXP').replace(function(o) {});</code>
| Disables gaining of mastery pool exp.
|}
|}


915

edits