Casper Gaming Developer Corner
Casper Gaming Developer Corner

[CGMZ] Hooks - Version Alpha R3

Back to Plugin

Devlog Version

Hi all, today this plugin was updated to version AlphaR3!

This update adds a new hook: Skill Purchase. This hook will run whenever you buy a skill from the [CGMZ] Skill Shop, and it will provide you easy access to the skill that was purchased, the price it was purchased at, and the actor that learned the skill in your JS parameter.

This update also fixes a bug with learning skill hooks, as they would fail to run due to a previous update causing the hook to run after the skill was already learned. Finally, this plugin will no longer crash when invalid JSON is detected, it will instead warn you in the dev tools console. These errors are still important to fix, as they will prevent your hook with the JSON error from working properly.

Version AlphaR3
  • Added hook to run when a skill shop purchase is made
  • Bug fix for skill hooks not running
  • This plugin will now warn instead of crash when invalid JSON is detected

Back to Plugin