Update gameserver/src/game/util.rs
Change main city object states to light up the HDD and put "Manual Combo" switch into the config
This commit is contained in:
parent
0c12a6ce54
commit
5800628723
1 changed files with 6 additions and 4 deletions
|
@ -4,6 +4,8 @@ use qwer::{
|
|||
};
|
||||
use std::time::{SystemTime, UNIX_EPOCH};
|
||||
|
||||
use crate::config::CONFIGURATION;
|
||||
|
||||
pub fn cur_timestamp_ms() -> u64 {
|
||||
SystemTime::now()
|
||||
.duration_since(UNIX_EPOCH)
|
||||
|
@ -71,7 +73,7 @@ pub fn create_default_player(id: u64) -> PlayerInfo {
|
|||
unlocked_list: Some(phashset![]),
|
||||
}),
|
||||
yorozuya_info: Some(YorozuyaInfo {
|
||||
yorozuya_level: Some(1),
|
||||
yorozuya_level: Some(5),
|
||||
yorozuya_rank: Some(1),
|
||||
gm_enabled: Some(true),
|
||||
gm_quests: Some(phashmap![]),
|
||||
|
@ -79,7 +81,7 @@ pub fn create_default_player(id: u64) -> PlayerInfo {
|
|||
finished_hollow_quest_count_of_type: Some(phashmap![]),
|
||||
hollow_quests: Some(pdkhashmap![]),
|
||||
urgent_quests_queue: Some(phashmap![]),
|
||||
unlock_hollow_id: Some(vec![102]),
|
||||
unlock_hollow_id: Some(vec![102,101]),
|
||||
unlock_hollow_id_progress: Some(pdkhashmap![]),
|
||||
last_refresh_timestamp_common: Some(0),
|
||||
last_refresh_timestamp_urgent: Some(0),
|
||||
|
@ -263,7 +265,7 @@ pub fn create_default_player(id: u64) -> PlayerInfo {
|
|||
condition_progress: Some(pdkhashmap![]),
|
||||
}),
|
||||
switch_of_story_mode: Some(true),
|
||||
switch_of_qte: Some(true),
|
||||
switch_of_qte: Some(CONFIGURATION.manual_chain_attacks),
|
||||
collect_map: Some(CollectMap {
|
||||
card_map: Some(phashset![]),
|
||||
curse_map: Some(phashset![]),
|
||||
|
@ -285,7 +287,7 @@ pub fn create_default_player(id: u64) -> PlayerInfo {
|
|||
sequence: Some(0),
|
||||
}),
|
||||
bgm_info: Some(BGMInfo { bgm_id: Some(1) }),
|
||||
main_city_objects_state: Some(phashmap![]),
|
||||
main_city_objects_state: Some(phashmap![(1000,10002), (1001,10004), (1002,10006), (999,10007)]),
|
||||
hollow_info: Some(HollowInfo {
|
||||
banned_hollow_event: Some(phashset![]),
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue