Last active
May 9, 2016 04:35
-
-
Save Boemu/5eac3599fc6ef7cea5fe370d4681ca65 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
_addLevel: function(value) { | |
for (var i = 0; i < value; i++) { | |
cc.log("[ENEMY]LEVEL UP!!"); | |
// 能力値アップ | |
this.level++; | |
this.maxHP++; | |
this.attackPower++; | |
this.defensePower++; | |
this.knockBackPower++; | |
} | |
// TODO: 各能力値のラベルに適用 | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment