示例#1
0
            public bool needUse(PartyMember player)
            {
                var _m = player.InstanceDistance(30);

                if (_m == null || _m.HealthPercent < 1)
                {
                    return(false);
                }
                var isCondition = _m.HealthPercent < this.hp;

                if (isCondition)
                {
                    return(!isBuff || (!_m.GotAura(name) && (string.IsNullOrEmpty(debuff) || !_m.GotDebuff(debuff))));
                }
                return(false);
            }