1
This commit is contained in:
parent
2fc1052cf6
commit
19ed693a16
@ -412,4 +412,14 @@ namespace mt
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int Param::GetCritEffect(float E)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int Param::GetBlockEffect(float E)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -149,6 +149,9 @@ namespace mt
|
|||||||
int nature_recover_hp_interval = 1;
|
int nature_recover_hp_interval = 1;
|
||||||
float nature_recover_hp_rate = 0.1f;
|
float nature_recover_hp_rate = 0.1f;
|
||||||
|
|
||||||
|
std::vector<float> block_effect_range;
|
||||||
|
std::vector<float> crit_effect_range;
|
||||||
|
|
||||||
std::vector<std::shared_ptr<RankMatchConf>> rank_mode_confs;
|
std::vector<std::shared_ptr<RankMatchConf>> rank_mode_confs;
|
||||||
};
|
};
|
||||||
static void StaticPostInit();
|
static void StaticPostInit();
|
||||||
@ -162,6 +165,8 @@ namespace mt
|
|||||||
static const RankMatchConf* GetRankModeConfByHeroLv(int hero_lv);
|
static const RankMatchConf* GetRankModeConfByHeroLv(int hero_lv);
|
||||||
static const RankMatchConf* GetRankModeConfByRoomType(int room_type);
|
static const RankMatchConf* GetRankModeConfByRoomType(int room_type);
|
||||||
static int RandHeroLv(int room_type);
|
static int RandHeroLv(int room_type);
|
||||||
|
static int GetCritEffect(float E);
|
||||||
|
static int GetBlockEffect(float E);
|
||||||
private:
|
private:
|
||||||
static S s_;
|
static S s_;
|
||||||
};
|
};
|
||||||
|
@ -2252,9 +2252,8 @@ void Team::FillSMGameOver(cs::SMGameOver& msg)
|
|||||||
member->set_sex(hum->sex);
|
member->set_sex(hum->sex);
|
||||||
member->set_hero_id(hum->meta->id());
|
member->set_hero_id(hum->meta->id());
|
||||||
member->set_dead(hum->dead);
|
member->set_dead(hum->dead);
|
||||||
Skin* skin = hum->GetSkinByIdx(0);
|
if (hum->GetNetData()->GetSkinId() != 0) {
|
||||||
if (skin) {
|
member->set_skin_id(hum->GetNetData()->GetSkinId());
|
||||||
member->set_skin_id(skin->skin_id);
|
|
||||||
}
|
}
|
||||||
member->set_is_mvp(0);
|
member->set_is_mvp(0);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user