private void UpdateBoss(uint elapsed) { if (mBoss == null) { return; } if (!IsWorkingState()) { return; } uint mLeftTime = mMaxLogicTime - mLogicRunTime; if (mLeftTime <= 60000) { if (mLeftTime + elapsed > 60000) { mBoss.AddSkillEffect(new AttackerAttr(mBoss), SkillEffectType.Buff, 1453); } } else if (mLeftTime <= 120000) { if (mLeftTime + elapsed > 120000) { mBoss.AddSkillEffect(new AttackerAttr(mBoss), SkillEffectType.Buff, 1451); } } }