129 lines
3.7 KiB
C#
129 lines
3.7 KiB
C#
using Framework;
|
|
namespace Gameplay.Common
|
|
{
|
|
public static class CodeDefine
|
|
{
|
|
|
|
/// <summary>
|
|
/// 脱战多少秒之后开始恢复士气
|
|
/// </summary>
|
|
public static float MORALE_RECOVER_TIME {
|
|
get
|
|
{
|
|
return TableManager.Instance.Tables.GlobalConfig.MoraleRecoverDelayTime;
|
|
}
|
|
}
|
|
|
|
public const int HOLD_FLAG_BUFF_ID = 7;
|
|
|
|
public const int BLEED_BUFF_ID = 8;
|
|
|
|
public static bool ENABLE_FIGHT_NORMAL_ATTACK_LOG = false;
|
|
|
|
public static bool ENABLE_WEAPON_FIRE_AUDIO_LOG = false;
|
|
|
|
public static class UI
|
|
{
|
|
/// <summary>
|
|
/// 禁用战斗UI update
|
|
/// </summary>
|
|
public static bool DISABLE_FIGHT_SCENE_UPDATE = false;
|
|
}
|
|
|
|
public static class Fight
|
|
{
|
|
|
|
/// <summary>
|
|
/// 血量无敌
|
|
/// </summary>
|
|
public static bool HP_NOCOST = false;
|
|
/// <summary>
|
|
/// 护盾无敌
|
|
/// </summary>
|
|
public static bool SHIELD_NOCOST = false;
|
|
/// <summary>
|
|
/// 士气无敌
|
|
/// </summary>
|
|
public static bool MORALE_NOCOST = false;
|
|
|
|
public static bool HP_NOCOST_ENEMY = false;
|
|
public static bool SHIELD_NOCOST_ENEMY = false;
|
|
public static bool MORALE_NOCOST_ENEMY = false;
|
|
|
|
public static float LIGHT_UP_TIME = 0.2F;
|
|
|
|
public static float SHOOT_LIGHT_UP_TIME = 1F;
|
|
|
|
/// <summary>
|
|
/// 一击逃跑
|
|
/// </summary>
|
|
public static bool ONE_DAMAGE_RETREAT = false;
|
|
|
|
/// <summary>
|
|
/// 禁止士气恢复
|
|
/// </summary>
|
|
public static bool DISABLE_MORALE_RECOVER = false;
|
|
|
|
/// <summary>
|
|
/// 一击死亡,自己
|
|
/// </summary>
|
|
public static bool ONE_DAMAGE_KILL_SELF = false;
|
|
/// <summary>
|
|
/// 一击死亡,敌人
|
|
/// </summary>
|
|
public static bool ONE_DAMAGE_KILL_ENEMY = false;
|
|
|
|
/// <summary>
|
|
/// 跳过可移动单位占位检查
|
|
/// </summary>
|
|
public static bool SkipMoveUnitStandLevelCheck = true;
|
|
|
|
/// <summary>
|
|
/// 跳过技能CD检查
|
|
/// </summary>
|
|
public static bool SkipSkillCDCheck = false;
|
|
|
|
public static class CapturePoint
|
|
{
|
|
/// <summary>
|
|
/// 离开占领点特效ID
|
|
/// </summary>
|
|
public const int EFFECT_ID_EXIT = 20001;
|
|
|
|
/// <summary>
|
|
/// 占领完成特效ID
|
|
/// </summary>
|
|
public const int EFFECT_ID_FINISH = 20002;
|
|
}
|
|
|
|
public static class HoldFlag
|
|
{
|
|
/// <summary>
|
|
/// 拾取特效ID
|
|
/// </summary>
|
|
public const int EFFECT_ID_PICKUP = 20003;
|
|
|
|
/// <summary>
|
|
/// 归还特效ID
|
|
/// </summary>
|
|
public const int EFFECT_ID_RETURN = 20003;
|
|
|
|
}
|
|
|
|
public static class Evacuate
|
|
{
|
|
/// <summary>
|
|
/// 撤退特效ID
|
|
/// </summary>
|
|
public const int EFFECT_ID_SUCCESS = 20004;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 敌人NPC限制
|
|
/// </summary>
|
|
public static int LIMIT_NPC_COUNT = 999;
|
|
|
|
}
|
|
}
|
|
}
|