This commit is contained in:
aozhiwei 2023-05-23 11:02:02 +08:00
parent 5a39f74711
commit f230ee1b52
4 changed files with 22 additions and 4 deletions

View File

@ -182,10 +182,8 @@ enum EquipType_e
EQUIP_TYPE_SPOILS = 12, EQUIP_TYPE_SPOILS = 12,
EQUIP_TYPE_SINGAL_EMITTER = 13, EQUIP_TYPE_SINGAL_EMITTER = 13,
EQUIP_TYPE_GIFT_PACKAGE = 14, EQUIP_TYPE_GIFT_PACKAGE = 14,
EQUIP_TYPE_YELLOW_STONE = 15, EQUIP_TYPE_GEMSTONE = 15,
EQUIP_TYPE_LOVE = 16, EQUIP_TYPE_LOVE = 16,
EQUIP_TYPE_BLUE_STONE = 17,
EQUIP_TYPE_PURPLE_STONE = 18,
EQUIP_TYPE_End EQUIP_TYPE_End
}; };
@ -195,6 +193,14 @@ enum GunSubEquipType_e
GUN_SUB_EQUIP_TYPE_End GUN_SUB_EQUIP_TYPE_End
}; };
enum GemStoneSubEquipType_e
{
GEMSTONE_SUB_EQUIP_ENERGY = 1,
GEMSTONE_SUB_EQUIP_SKILL = 2,
GEMSTONE_SUB_EQUIP_SHIELD = 3,
GEMSTONE_SUB_EQUIP_TYPE_End
};
enum ThrowSubEquipType_e enum ThrowSubEquipType_e
{ {
THROW_EQUIP_TYPE_ADD_BUFF = 3, THROW_EQUIP_TYPE_ADD_BUFF = 3,

View File

@ -2770,7 +2770,7 @@ void Human::ProcAddItemDto(AddItemDTO& dto)
ProcGiftPackage(dto); ProcGiftPackage(dto);
} }
break; break;
case EQUIP_TYPE_YELLOW_STONE: case EQUIP_TYPE_GEMSTONE:
{ {
ProcYellowStoneItem(dto); ProcYellowStoneItem(dto);
} }
@ -2780,6 +2780,7 @@ void Human::ProcAddItemDto(AddItemDTO& dto)
ProcLoveItem(dto); ProcLoveItem(dto);
} }
break; break;
#if 0
case EQUIP_TYPE_BLUE_STONE: case EQUIP_TYPE_BLUE_STONE:
{ {
ProcBlueStoneItem(dto); ProcBlueStoneItem(dto);
@ -2790,6 +2791,7 @@ void Human::ProcAddItemDto(AddItemDTO& dto)
ProcPurpleStoneItem(dto); ProcPurpleStoneItem(dto);
} }
break; break;
#endif
default: default:
{ {
ProcLootSpecItem(dto); ProcLootSpecItem(dto);

View File

@ -2259,6 +2259,9 @@ void Room::NotifyGameStart()
long long Room::GetGasInactiveTime() long long Room::GetGasInactiveTime()
{ {
#ifdef DEBUG
return 30;
#endif
if (IsPveRoom()) { if (IsPveRoom()) {
return 10; return 10;
} else { } else {

View File

@ -361,6 +361,10 @@ message MFPlayerFull
optional int32 hero_level = 72; //hero等级 optional int32 hero_level = 72; //hero等级
optional int32 team_member_num = 70 [default = 0]; // optional int32 team_member_num = 70 [default = 0]; //
optional int32 armor_shield = 73; //
optional int32 max_armor_shield = 74; //
} }
//- //-
@ -625,6 +629,9 @@ message MFActivePlayerData
optional int32 dive_oxygen_curr = 64; // optional int32 dive_oxygen_curr = 64; //
optional int32 gemstone = 68; // optional int32 gemstone = 68; //
optional int32 armor_shield = 73; //
optional int32 max_armor_shield = 74; //
} }
// //