diff --git a/server/gameserver/constant.h b/server/gameserver/constant.h index ba578f1..d4b5b50 100755 --- a/server/gameserver/constant.h +++ b/server/gameserver/constant.h @@ -364,6 +364,17 @@ enum ExplosionHit_e kExplosionHitEatDmg = 4, }; +enum CondAddBuff_e +{ + kCondBuffSpecWeaponId = 1, + kCondBuffSpecWeaponSlot = 2, + kCondBuffSpecWeaponType = 3, + kCondBuffKillTarget = 4, + kCondBuffDid = 5, + kCondBuffActiveBuff = 6, + kCondBuffHp = 7, +}; + const char* const PROJ_NAME_FMT = "game%d_gameserver"; const char* const PROJ_ROOT_FMT = "/data/logs/%s"; diff --git a/server/gameserver/constant_export.h b/server/gameserver/constant_export.h index 51eddae..e2ad39b 100644 --- a/server/gameserver/constant_export.h +++ b/server/gameserver/constant_export.h @@ -56,6 +56,7 @@ enum BuffEffectType_e kBET_Become = 38, //变身 kBET_ShotCharge = 39, //射击蓄力 kBET_SelectTargetWithSelfPos = 40, //已自己坐标为中心范围内选取目标,并且批量添加buff + kBET_CondAddBuff = 41, //条件添加buff kBET_FollowMaster = 49, //跟随主人 kBET_ThroughWall = 50, //穿墙