This commit is contained in:
aozhiwei 2023-09-23 09:21:32 +08:00
parent f0baba7239
commit 27eb77a533
2 changed files with 9 additions and 0 deletions

View File

@ -133,6 +133,10 @@ namespace mt
int revive_count = 1;
int pvp_revive_time = 10;
float newbie_andrid_hp_rate = 1;
float newbie_andrid_atk_rate = 1;
float newbie_andrid_def_rate = 1;
std::vector<std::shared_ptr<RankMatchConf>> rank_mode_confs;
};
static void StaticPostInit();

View File

@ -181,6 +181,11 @@ private:
standard_meta->defence()
});
#endif
if (c->room->GetRoomType() == RoomType_NewBrid) {
hp_ *= mt::Param::s().newbie_andrid_hp_rate;
atk_ *= mt::Param::s().newbie_andrid_atk_rate;
def_ *= mt::Param::s().newbie_andrid_def_rate;
}
}
}
}