fp: Add attack upgrade to merchant

This commit is contained in:
2023-10-08 17:35:57 +11:00
parent 17947c7b69
commit 065292c7ac
3 changed files with 16 additions and 12 deletions
+2 -1
View File
@@ -226,13 +226,14 @@ static FP_GameEntity *FP_Game_MakeEntityPointerFV(FP_Game *game, DQN_FMT_STRING_
result->action.sprite_alpha = 1.f;
result->stamina_cap = 93;
result->hp_cap = DQN_CAST(uint16_t)(FP_DEFAULT_DAMAGE * .8f);
result->hp_cap = DQN_CAST(uint32_t)(FP_DEFAULT_DAMAGE * .8f);
result->hp = result->hp_cap;
result->inventory.airports_base_price = 100;
result->inventory.churchs_base_price = 50;
result->inventory.kennels_base_price = 50;
result->inventory.clubs_base_price = 50;
result->base_attack = FP_DEFAULT_DAMAGE;
result->inventory.stamina_base_price = 10;
result->inventory.health_base_price = 10;