no message
This commit is contained in:
11
Question14-AdvancedInheritance/Ex01.php
Normal file
11
Question14-AdvancedInheritance/Ex01.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
/* TODO:
|
||||
* common.Characterクラスを継承した、Slimeクラスを作成してください
|
||||
* ●HP, POWER, ENDURANCEはそれぞれ、(10, 5, 2)
|
||||
*
|
||||
* 設定する名前は"スライム"
|
||||
* 逃げる確率は5%
|
||||
*
|
||||
* 攻撃方法は通常攻撃のみ、powerの値をそのまま計算に当ててください
|
||||
* ダメージ計算は、【相手の耐久 - 力 = ダメージ量】です
|
||||
*/
|
||||
Reference in New Issue
Block a user