Created
February 17, 2022 12:09
-
-
Save triacontane/26e27273c9324954f46a57ff4e31958f to your computer and use it in GitHub Desktop.
敵キャラの全回復(ステートはそのまま)
This file contains hidden or 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
this.iterateEnemyIndex(-1, enemy => enemy.setHp(enemy.mhp)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-1 : 敵キャラ全員
0... : 指定したインデックスの敵キャラ