Exemple #1
0
        public Object_Flag(string name, bool pval, Timed_Effect timed, object_flag_id id, object_flag_type type,
            int power, int p_m, int wpn, int bow, int ring, int amu, int light, int body, int cloak,
            int shield, int hat, int gloves, int boots, string message)
        {
            this.value = counter++;
            this.name = name;
            this.pval = pval;
            this.timed = timed;
            this.id = id;
            this.type = type;
            this.power = power;
            this.p_m = p_m;
            this.weapon = wpn;
            this.bow = bow;
            this.ring = ring;
            this.amulet = amu;
            this.light = light;
            this.body = body;
            this.cloak = cloak;
            this.shield = shield;
            this.hat = hat;
            this.gloves = gloves;
            this.boots = boots;
            this.message = message;

            list.Add(this);
        }
Exemple #2
0
        public Object_Flag(string name, bool pval, Timed_Effect timed, object_flag_id id, object_flag_type type,
                           int power, int p_m, int wpn, int bow, int ring, int amu, int light, int body, int cloak,
                           int shield, int hat, int gloves, int boots, string message)
        {
            this.value   = counter++;
            this.name    = name;
            this.pval    = pval;
            this.timed   = timed;
            this.id      = id;
            this.type    = type;
            this.power   = power;
            this.p_m     = p_m;
            this.weapon  = wpn;
            this.bow     = bow;
            this.ring    = ring;
            this.amulet  = amu;
            this.light   = light;
            this.body    = body;
            this.cloak   = cloak;
            this.shield  = shield;
            this.hat     = hat;
            this.gloves  = gloves;
            this.boots   = boots;
            this.message = message;

            list.Add(this);
        }