forked from NewEriduPubSec/JaneDoe-ZS
chore: fix warnings
This commit is contained in:
parent
285fc0b6fa
commit
8d1211750b
1 changed files with 2 additions and 3 deletions
|
@ -66,7 +66,7 @@ pub async fn on_do_gacha(
|
|||
|
||||
// tracing::info!("cost_item_count: {}", req.cost_item_count);
|
||||
let mut pull_count = if req.cost_item_count > 1 { 10 } else { 1 };
|
||||
let mut cost_count = pull_count;
|
||||
let cost_count = pull_count;
|
||||
|
||||
if pull_count == 10 {
|
||||
let discount_tag = &gachaconf.common_properties.ten_pull_discount_tag;
|
||||
|
@ -156,7 +156,6 @@ pub async fn on_gacha_free_agent(
|
|||
req: GachaFreeAgentCsReq,
|
||||
) -> NetResult<GachaFreeAgentScRsp> {
|
||||
let gachaconf = global_gacha_config();
|
||||
let gacha_model = &mut _player.gacha_model;
|
||||
let role_model = &mut _player.role_model;
|
||||
let pull_time = Local::now();
|
||||
let target_pool = get_gacha_pool(
|
||||
|
@ -529,7 +528,7 @@ fn generate_gacha_info_from_pool(
|
|||
}
|
||||
}
|
||||
|
||||
if let Some(priority_policy_tag) = chooseable_policy_tag {
|
||||
if let Some(_priority_policy_tag) = chooseable_policy_tag {
|
||||
// if let Some(item) = status_bin
|
||||
// .rarity_status_map
|
||||
// .get(&rarity_items.rarity)
|
||||
|
|
Loading…
Reference in a new issue