Skip to content

Instantly share code, notes, and snippets.

@Boemu Boemu/レベルアップ
Last active May 9, 2016

Embed
What would you like to do?
はてなブログ用
_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
You can’t perform that action at this time.