关于宠物初始满饥饿,满幸福度,和不扣饥饿值修改
不扣饥值
在 pet.cpp 方法 pet_hungry里 增加
if (battle_config.pet_hungry_delay_rate < 10000) {
pd->pet.hungry -= pet_db_ptr->fullness;
}
这段代码
pet_hungry_delay_rate 这个配置在 conf/battle/pet.conf里
pet_hungry_delay_rate: 10000
不扣饥值
在 pet.cpp 方法 pet_hungry里 增加
if (battle_config.pet_hungry_delay_rate < 10000) {
pd->pet.hungry -= pet_db_ptr->fullness;
}
这段代码
pet_hungry_delay_rate 这个配置在 conf/battle/pet.conf里
pet_hungry_delay_rate: 10000

选者










