boo6786733
boo6786733
关注数: 1
粉丝数: 3
发帖数: 44
关注贴吧数: 2
medical attention // Ask the healer for help when you're under half health. loop { var currentHealth = this.health; var healingThreshold = this.maxHealth / 2; var enemy=this.findNearestEnemy(); if (currentHealth > healingThreshold ) { if(enemy){ this.attack(enemy); } }else if (currentHealth < healingThreshold) { this.moveXY(64,46); this.say("heal me"); } // If your current health is less than the threshold, // move to the healing point and say, "heal me". // Otherwise, attack. You'll need to fight hard! }
请问这关怎么过。 不知道怎么用语句
1
下一页