Esempio n. 1
0
    public AIDomainBuilder HasStateGreaterThan(AIWorldState state, byte value)
    {
        var condition = new HasWorldStateGreaterThanCondition(state, value);

        Pointer.AddCondition(condition);
        return(this);
    }
Esempio n. 2
0
    public AIDomainBuilder HasState(AIWorldState state)
    {
        var condition = new HasWorldStateCondition(state);

        Pointer.AddCondition(condition);
        return(this);
    }
Esempio n. 3
0
        public CharacterDomainBuilder CanCastAnySpell()
        {
            var condition = new CanCastAnySpellCondition();

            Pointer.AddCondition(condition);
            return(this);
        }
Esempio n. 4
0
        public CharacterDomainBuilder HasState(CharacterWorldState state, byte value)
        {
            var condition = new HasWorldStateCondition(state, value);

            Pointer.AddCondition(condition);
            return(this);
        }
Esempio n. 5
0
        public AIDomainBuilder HasState(AIWorldState state, byte value)
        {
            var condition = new HasWorldStateCondition(state, value);

            condition.Depth = Pointer.Depth + 1;
            Pointer.AddCondition(condition);
            return(this);
        }