Example #1
0
        public NullItemConsumable() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Empty slot");
            _effect.setEffectName(" had no effect");
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/potionoutline.png", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
Example #2
0
        public PotionOfHealth() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Health Potion");
            _effect.setEffectName("Heals by ");
            _effect.setEffectAmount(40);
            _effect.setHealthValue(40);
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/Super_Health_Potion.png", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
Example #3
0
        public PotionOfRejuvenation() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Rejuvenation Potion");
            _effect.setEffectName("Restores mana and health by 15 for four turns.");
            this.setEffect(_effect);
            setHasStatusEffect(true);
            setStatusEffect(new Rejuvenation());

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/Fullrejuv.gif", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
Example #4
0
        public PotionOfHealthRegeneration() : base()
        {
            _effect = new ItemsEffect();
            setItemName("Health Regeneration Potion");
            _effect.setEffectName("Restores health by 15 for four turns.");
            setEffect(_effect);
            setHasStatusEffect(true);
            setStatusEffect(new HealthRegeneration());

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/Super_Health_Potion.png", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
Example #5
0
        public GreaterPotionOfMana() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Greater Mana Potion");
            _effect.setEffectName("Greatly restores mana by ");
            _effect.setEffectAmount(60);
            _effect.setManaValue(60);
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/full_mana_potion.gif", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
        public GreaterPotionOfManaRegeneration() : base()
        {
            _effect = new ItemsEffect();
            setItemName("Greater Mana Regeneration Potion");
            _effect.setEffectName("Restores mana by 20 for five turns.");
            setEffect(_effect);
            setHasStatusEffect(true);
            setStatusEffect(new GreaterManaRegeneration());

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/full_mana_potion.gif", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
        public LesserPotionOfDefense() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Lesser Defense Potion");
            _effect.setEffectName("Slightly increases defense by 3 for three turns.");
            _effect.setPhysicalDefense(3);
            this.setEffect(_effect);
            setHasStatusEffect(true);
            setStatusEffect(new LesserDefenseBoost());

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/potionofdefense.jpg", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
        public GreaterPotionOfPower() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Greater Power Potion");
            _effect.setEffectName("Greatly increase strength by 10 for five turns.");
            _effect.setPhysicalDefense(10);
            this.setEffect(_effect);
            setHasStatusEffect(true);
            setStatusEffect(new GreaterPowerBoost());

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/potionofpower.jpg", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
        public PotionOfPower() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Potion of Power");
            _effect.setEffectName("Enhances power by 6 for four turns.");
            _effect.setStrengthValue(6);
            this.setEffect(_effect);
            setHasStatusEffect(true);
            setStatusEffect(new PowerBoost());

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/potionofpower.jpg", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
        public SimpleAxe() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Simple Axe");
            this.setIsWeapon(true);
            _effect.setEffectName("A simple axe");
            _effect.setStrengthValue(9);
            _effect.setEffectAmount(9);
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/etherealedge.gif", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
        public GreaterPotionOfMagic() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Greater Magic Potion");
            _effect.setEffectName("Greatly increase magic by 10 for five turns.");
            _effect.setMagicValue(10);
            this.setEffect(_effect);
            setHasStatusEffect(true);
            setStatusEffect(new GreaterMagicBoost());

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/potionofmagic.jpg", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
Example #12
0
        public PotionOfDefense() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Defense Potion");
            _effect.setEffectName("Enhances defense by 6 for four turns.");
            _effect.setPhysicalDefense(6);
            this.setEffect(_effect);
            setHasStatusEffect(true);
            setStatusEffect(new DefenseBoost());

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/potionofdefense.jpg", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
        public SimpleStaff() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Simple Staff");
            this.setIsWeapon(true);
            _effect.setEffectName("A simple staff");
            _effect.setMagicValue(6);
            _effect.setEffectAmount(6);
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/shortstaff.gif", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
        public MythrilDagger() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Mythril Dagger");
            this.setIsWeapon(true);
            this.setSocketAmount(5);
            _effect.setEffectName("A legendary dagger made of mythril, increases magic resistance by 12");
            _effect.setStrengthValue(30);
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/Pig_Sticker.png", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
Example #15
0
        public PotionOfResistance() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Potion of Resistance");
            _effect.setEffectName("Enhances resistance by 6 for four turns.");
            _effect.setResistanceDefense(6);
            this.setEffect(_effect);
            setHasStatusEffect(true);
            setStatusEffect(new ResistanceBoost());

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/potionofresistance.png", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
        public RuneOfDestruction() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Rune Of Destruction");
            this.setIsSocketable(true);
            _effect.setEffectName("The fallen angel set fire to the heavens, and this fell from the ashes...");
            _effect.setStrengthValue(100);
            _effect.setMagicValue(100);
            _effect.setEffectAmount(100);
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/Ist_Rune.png", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
Example #17
0
        public MythrilStaff() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Mythril Staff");
            this.setIsWeapon(true);
            this.setSocketAmount(5);
            _effect.setEffectName("A legendary staff made of mythril, increases mana by 40");
            _effect.setMagicValue(25);
            _effect.setManaValue(112);
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/The_Tormentor.png", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
        public RuneOfTranquility() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Rune Of Tranquility");
            this.setIsSocketable(true);
            _effect.setEffectName("In the midst of creation and destruction, stood tranquility...");
            _effect.setResistanceDefense(100);
            _effect.setPhysicalDefense(100);
            _effect.setEffectAmount(100);
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/Jah_Rune.png", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
Example #19
0
        public RuneOfCreation() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Rune Of Creation");
            this.setIsSocketable(true);
            _effect.setEffectName("God created the heavens, the earth, and this...");
            _effect.setHealthValue(100);
            _effect.setManaValue(100);
            _effect.setEffectAmount(100);
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/Ber_Rune.png", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
Example #20
0
        public SteelStaff() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Steel Staff");
            this.setIsWeapon(true);
            this.setSocketAmount(5);
            _effect.setEffectName("A magnificent staff made of high quality steel, increases mana by 30");
            _effect.setMagicValue(18);
            _effect.setManaValue(75);
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/spireoflazarus.gif", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
        public BronzeDagger() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Bronze Dagger");
            this.setIsWeapon(true);
            this.setSocketAmount(4);
            _effect.setEffectName("A deadly dagger made of copper and tin, increases magic resistance by 4");
            _effect.setStrengthValue(12);

            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/dagger.gif", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
Example #22
0
        public SteelDagger() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Steel Dagger");
            this.setIsWeapon(true);
            this.setSocketAmount(5);
            _effect.setEffectName("A ferocious dagger made of high tensile steel, increases magic resistance by 8");

            _effect.setStrengthValue(21);

            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/kriss.gif", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
        public NullItemEquipment() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Empty slot");
            this.setIsHelmet(true);
            this.setIsGloves(true);
            this.setIsBoots(true);
            this.setIsTorso(true);
            this.setIsWeapon(true);
            _effect.setEffectName(" had no effect");
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/swordoutline.png", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
        public EnchantedHood() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Enchanted Hood");
            this.setIsHelmet(true);
            this.setSocketAmount(2);
            _effect.setEffectName("An enchanted hood that increases mana by 15");
            _effect.setMagicValue(4);
            _effect.setResistanceDefense(2);
            _effect.setManaValue(14);
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/mageHood.jpg", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
Example #25
0
        public BronzeStaff() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Bronze Staff");
            this.setIsWeapon(true);
            this.setSocketAmount(4);
            _effect.setEffectName("A beautiful staff made of copper and tin, increases mana by 20");
            _effect.setMagicValue(10);
            _effect.setManaValue(40);

            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/WarStaff.gif", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
        public PlateMailGloves() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Plate Mail Gloves");
            this.setIsGloves(true);
            this.setSocketAmount(2);
            _effect.setEffectName("Plate mail gloves that increase strength by 9");
            _effect.setPhysicalDefense(4);
            _effect.setResistanceDefense(4);
            _effect.setHealthValue(20);
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/platedGloves.jpg", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
Example #27
0
        public ChainMailGloves() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Chain Mail Gloves");
            this.setIsGloves(true);
            this.setSocketAmount(2);
            _effect.setEffectName("Chain mail gloves made of interlocking steel that increase strength by 6");
            _effect.setStrengthValue(2);
            _effect.setPhysicalDefense(2);
            _effect.setManaValue(6);
            _effect.setEffectAmount(7);
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/Chain_Gloves.gif", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
        public AssassinHood() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Assassin Hood");
            this.setIsHelmet(true);
            this.setSocketAmount(3);
            _effect.setEffectName("Face of darkness, increases strength by 5");
            _effect.setStrengthValue(5);
            _effect.setPhysicalDefense(3);
            _effect.setManaValue(15);
            _effect.setEffectAmount(5);
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/darkHood.jpg", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
        public PlateMailVest() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Plate Mail Vest");
            this.setIsTorso(true);
            this.setSocketAmount(4);
            _effect.setEffectName("A vest made of plate mail, increases strength by 15");
            _effect.setPhysicalDefense(12);
            _effect.setResistanceDefense(9);
            _effect.setHealthValue(80);
            _effect.setEffectAmount(18);
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/Robes_of_the_Rydraelm.png", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }
        public MythrilChestPlate() : base()
        {
            _effect = new ItemsEffect();
            this.setItemName("Mythril Chest Plate");
            this.setIsTorso(true);
            this.setSocketAmount(6);
            _effect.setEffectName("A legendary piece of armor, increases health by 15.");
            _effect.setPhysicalDefense(22);
            _effect.setResistanceDefense(22);
            _effect.setHealthValue(15);
            _effect.setEffectAmount(22);
            this.setEffect(_effect);

            ImageBrush  imgBrush = new ImageBrush();
            BitmapImage image    = new BitmapImage(new Uri(@"../../Images/Items/victorsilk.gif", UriKind.RelativeOrAbsolute));

            imgBrush.ImageSource = image;
            setImageBrush(imgBrush);
        }