Ejemplo n.º 1
0
        private MonsterNoteTarget[] BuildNotoriousTargets()
        {
            const int Count = 3;

            MonsterNoteTarget[] targets = new MonsterNoteTarget[Count];
            for (int i = 0; i < targets.Length; ++i)
            {
                targets[i] = As <MonsterNoteTarget>("MonsterNoteTarget{NM}", i);
            }

            return(targets);
        }
Ejemplo n.º 2
0
        private Target[] BuildTargets()
        {
            const int Count = 10;

            Target[] targets = new Target[Count];
            for (int i = 0; i < targets.Length; ++i)
            {
                MonsterNoteTarget monster = As <MonsterNoteTarget>("MonsterNoteTarget{Common}", i);
                int count = AsInt32("MonsterCount", i);

                targets[i] = new Target(monster, count);
            }

            return(targets);
        }
        private Target[] BuildTargets()
        {
            const int Count = 4;

            List <Target> targets = new List <Target>();

            for (int i = 0; i < Count; ++i)
            {
                MonsterNoteTarget target = As <MonsterNoteTarget>("MonsterNoteTarget", i);
                int count = AsInt32("Count", i);
                if (target.Key != 0 && count != 0)
                {
                    targets.Add(new Target(target, count));
                }
            }

            return(targets.ToArray());
        }
Ejemplo n.º 4
0
 public Target(MonsterNoteTarget monsterNoteTarget, int count)
 {
     MonsterNoteTarget = monsterNoteTarget;
     Count             = count;
 }
Ejemplo n.º 5
0
        private MonsterNoteTarget[] BuildNotoriousTargets()
        {
            const int Count = 3;

            var targets = new MonsterNoteTarget[Count];
            for (var i = 0; i < targets.Length; ++i)
                targets[i] = As<MonsterNoteTarget>("MonsterNoteTarget{NM}", i);

            return targets;
        }
Ejemplo n.º 6
0
 public Target(MonsterNoteTarget monsterNoteTarget, int count)
 {
     MonsterNoteTarget = monsterNoteTarget;
     Count = count;
 }