예제 #1
0
파일: ITEM.cs 프로젝트: itamargreen/metalx
        public 火箭礼花() : base()
        {
            //ItemType = ItemType.Battle;

            Icon.Name = "icon_battle";

            Name     = "火箭礼花";
            Worth    = 20;
            damage   = 100;
            accurate = 85;

            string str = "";

            str        += "品质:" + Quality.ToString();
            str        += "\n";
            str        += "攻击:" + Damage.ToString("f1");
            str        += "\n";
            str        += "命中:" + Accurate.ToString("f1") + "%";
            str        += "\n";
            str        += "价值:" + Worth + "G";
            str        += "\n";
            str        += "\n";
            str        += "没准能有攻击力。";
            Description = str;

            Script = "";

            ShotMovieIndexer.Name = "火箭礼花_shot";
            FlyMovieIndexer.Name  = "火箭礼花_fly";
            HitMovieIndexer.Name  = "boom_small";

            FlyTime = 400;
        }
예제 #2
0
        public M16突击步枪()
        {
            EquipmentType = EquipmentCHRType.Weapon;
            Icon.Name     = "m16_icon";

            Name     = "M16突击步枪";
            Damage   = 50;
            Accurate = 85f;
            Worth    = 2200;
            string str = "";

            str        += "品质:" + Quality.ToString();
            str        += "\n";
            str        += "攻击:" + Damage.ToString("f1");
            str        += "\n";
            str        += "命中:" + Accurate.ToString("f1") + "%";
            str        += "\n";
            str        += "价值:" + Worth + "G";
            str        += "\n";
            str        += "\n";
            str        += "威力强大!";
            Description = str;

            ShotMovieIndexer.Name = "m16_shot";
            HitMovieIndexer.Name  = "rife_hit";
        }
예제 #3
0
        public 狩猎弩()
        {
            EquipmentType = EquipmentCHRType.Weapon;
            Icon.Name     = "bow_icon";

            Name     = "狩猎弩";
            Damage   = 30;
            Accurate = 75f;
            Worth    = 100;
            string str = "";

            str        += "品质:" + Quality.ToString();
            str        += "\n";
            str        += "攻击:" + Damage.ToString("f1");
            str        += "\n";
            str        += "命中:" + Accurate.ToString("f1") + "%";
            str        += "\n";
            str        += "价值:" + Worth + "G";
            str        += "\n";
            str        += "\n";
            str        += "很强劲的努,\n拿在手里就有勇气\n了。";
            Description = str;

            ShotMovieIndexer.Name = "bow_shot";
            FlyMovieIndexer.Name  = "bow_fly";
            HitMovieIndexer.Name  = "bow_hit";
            FlyTime = 200;
        }
예제 #4
0
        public 弹弓()
        {
            EquipmentType = EquipmentCHRType.Weapon;
            Icon.Name     = "sling_icon";

            Name     = "弹弓";
            Damage   = 10;
            Accurate = 50;
            Worth    = 8;

            string str = "";

            str        += "品质:" + Quality.ToString();
            str        += "\n";
            str        += "攻击:" + Damage.ToString("f1");
            str        += "\n";
            str        += "命中:" + Accurate.ToString("f1") + "%";
            str        += "\n";
            str        += "价值:" + Worth + "G";
            str        += "\n";
            str        += "\n";
            str        += "通常是给小孩玩的。";
            Description = str;

            ShotMovieIndexer.Name = "sling_shot";
            FlyMovieIndexer.Name  = "sling_fly";
            HitMovieIndexer.Name  = "sling_hit";
            FlyTime = 200;
        }
예제 #5
0
        public 粗线手套()
        {
            EquipmentType = EquipmentCHRType.Hand;
            Icon.Name     = "icon_hand";

            Name     = "粗线手套";
            Defense  = 1;
            Accurate = 1f;
            Worth    = 8;
            string str = ""; str += "品质:" + Quality.ToString(); str += "\n";

            str        += "防御:" + Defense.ToString("f1");
            str        += "\n";
            str        += "命中:" + Accurate.ToString("f1") + "%";
            str        += "\n";
            str        += "价值:" + Worth + "G";
            str        += "\n";
            str        += "\n";
            str        += "学校发的,\n几乎没什么用处,\n或许只有修车的\n时候才用得上。";
            Description = str;
        }