You now receive damage to multiple body parts and can heal them all too.
This commit is contained in:
parent
1777a6bbf2
commit
360402cb3c
6 changed files with 61 additions and 23 deletions
|
|
@ -6,7 +6,17 @@
|
|||
"foreground": "enemies/fg:player",
|
||||
"background": "color:transparent"
|
||||
},
|
||||
{"_type": "Combat", "ap": 0, "max_ap": 12, "ap_delta": 6, "damage": 50, "dead": false},
|
||||
{"_type": "Combat", "max_hp": 50, "max_ap": 12, "ap_delta": 6, "damage": 100, "dead": false,
|
||||
"body_parts": {
|
||||
"head": 200,
|
||||
"chest": 200,
|
||||
"stomach": 200,
|
||||
"right_arm": 200,
|
||||
"left_arm": 200,
|
||||
"right_leg": 200,
|
||||
"left_leg": 200
|
||||
}
|
||||
},
|
||||
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
|
||||
{"_type": "Collision", "has": true},
|
||||
{"_type": "EnemyConfig", "ai_script": "Host::actions", "ai_start_name": "Host::initial_state", "ai_goal_name": "Host::final_state"},
|
||||
|
|
@ -20,7 +30,17 @@
|
|||
"foreground": "enemies/fg:rat_giant",
|
||||
"background": "color:transparent"
|
||||
},
|
||||
{"_type": "Combat", "ap": 0, "max_ap": 12, "ap_delta": 6,"damage": 2, "dead": false},
|
||||
{"_type": "Combat", "max_hp": 50, "max_ap": 12, "ap_delta": 6,"damage": 10, "dead": false,
|
||||
"body_parts": {
|
||||
"head": 50,
|
||||
"chest": 50,
|
||||
"stomach": 50,
|
||||
"right_arm": 50,
|
||||
"left_arm": 50,
|
||||
"right_leg": 50,
|
||||
"left_leg": 50
|
||||
}
|
||||
},
|
||||
{"_type": "Collision", "has": true},
|
||||
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
|
||||
{"_type": "EnemyConfig", "ai_script": "Enemy::actions", "ai_start_name": "Enemy::initial_state", "ai_goal_name": "Enemy::final_state"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue