Created
August 13, 2017 02:54
-
-
Save triacontane/2c1c7b3bc00c29678857cb28b202bb32 to your computer and use it in GitHub Desktop.
職業の変更後に新しい職業のスキルを習得
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var actor = $gameActors.actor(1); | |
actor.currentClass().learnings.forEach(function(learning) { | |
if (learning.level <= actor._level) { | |
actor.learnSkill(learning.skillId); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment