示例#1
0
        public override void GiveRewards()
        {
            //Random gold amount to add
            BankCheck gold = new BankCheck(Utility.RandomMinMax(5000, 6000));
            if (!Owner.AddToBackpack(gold))
            {
                gold.MoveToWorld(Owner.Location, Owner.Map);
            }

            //Adding Quest Reward Token(s)
            for (int x = 0; x < 1; x++)
            {
                RandomTalisman talisman = new RandomTalisman();
                if (!Owner.AddToBackpack(talisman))
                {
                    talisman.MoveToWorld(Owner.Location, Owner.Map);
                }
            }
            Item bonusitem;
            bonusitem = new RamaRobe();
            //Adding Bonus Item #1
            if (!Owner.AddToBackpack(bonusitem))
            {
                bonusitem.MoveToWorld(Owner.Location, Owner.Map);
            }


            base.GiveRewards();
        }
示例#2
0
 public Slither()
     : base(0x2F5B)
 {
     Hue = 0x587;				
     Blessed = RandomTalisman.GetRandomBlessed();						
     Attributes.BonusHits = 10;
     Attributes.RegenHits = 2;
     Attributes.DefendChance = 10;
 }
示例#3
0
        public TreatiseonAlchemyTalisman() : base(0x2F58)
        {
            Skill        = SkillName.Alchemy;
            SuccessBonus = RandomTalisman.GetRandomSuccessful();
            Blessed      = RandomTalisman.GetRandomBlessed();

            Attributes.EnhancePotions = 15;
            SkillBonuses.SetValues(0, SkillName.Magery, 5.0);
        }
示例#4
0
        public BirdsofBritanniaTalisman() : base(0x2F5A)
        {
            Blessed = RandomTalisman.GetRandomBlessed();
            Slayer  = TalismanSlayerName.Bird;

            SkillBonuses.SetValues(0, SkillName.AnimalTaming, 5.0);
            SkillBonuses.SetValues(0, SkillName.AnimalLore, 5.0);

            MaxChargeTime = 1800;
        }
示例#5
0
        public TalkingtoWispsTalisman() : base(0x2F5B)
        {
            Blessed = RandomTalisman.GetRandomBlessed();

            SkillBonuses.SetValues(0, SkillName.SpiritSpeak, 3.0);
            SkillBonuses.SetValues(0, SkillName.EvalInt, 5.0);

            Removal       = TalismanRemoval.Ward;
            MaxChargeTime = 1200;
        }
示例#6
0
        public MyBookTalisman() : base(0x2F5A)
        {
            Blessed = RandomTalisman.GetRandomBlessed();

            Skill            = SkillName.Inscribe;
            SuccessBonus     = RandomTalisman.GetRandomSuccessful();
            ExceptionalBonus = RandomTalisman.GetRandomExceptional();

            Attributes.BonusInt  = 5;
            Attributes.BonusMana = 2;
        }
示例#7
0
        public PrimerOnArmsTalisman() : base(0x2F59)
        {
            Blessed = RandomTalisman.GetRandomBlessed();

            Attributes.BonusStr     = 1;
            Attributes.RegenHits    = 2;
            Attributes.WeaponDamage = 20;

            Removal       = TalismanRemoval.Damage;
            MaxChargeTime = 1200;
        }
示例#8
0
        public TheLifeOfTravelingMinstrelTalisman() : base(0x2F5B)
        {
            Blessed    = RandomTalisman.GetRandomBlessed();
            Protection = RandomTalisman.GetRandomProtection();

            SkillBonuses.SetValues(0, SkillName.Provocation, 5.0);
            SkillBonuses.SetValues(0, SkillName.Musicianship, 5.0);

            Removal       = TalismanRemoval.Curse;
            MaxChargeTime = 1200;
        }
示例#9
0
        public GrammarOfOrchishTalisman() : base(0x2F59)
        {
            Blessed    = RandomTalisman.GetRandomBlessed();
            Protection = RandomTalisman.GetRandomProtection();
            Summoner   = new TalismanAttribute(typeof(SummonedOrcBrute), 0, 1072414);

            SkillBonuses.SetValues(0, SkillName.MagicResist, 5.0);
            SkillBonuses.SetValues(0, SkillName.Anatomy, 7.0);

            MaxChargeTime = 1800;
        }
示例#10
0
        public TotemOfVoid() : base(0x2F5B)
        {
            Hue           = 0x2D0;
            MaxChargeTime = 1800;

            Blessed    = RandomTalisman.GetRandomBlessed();
            Protection = RandomTalisman.GetRandomProtection();

            Attributes.RegenHits     = 2;
            Attributes.LowerManaCost = 10;
        }
        public BloodwoodSpirit() : base(0x2F5A)
        {
            Hue           = 0x27;
            MaxChargeTime = 1200;

            Removal    = TalismanRemoval.Damage;
            Blessed    = RandomTalisman.GetRandomBlessed();
            Protection = RandomTalisman.GetRandomProtection();

            SkillBonuses.SetValues(0, SkillName.SpiritSpeak, 10.0);
            SkillBonuses.SetValues(1, SkillName.Necromancy, 5.0);
        }
示例#12
0
        public Slither()
            : base(0x2F5B)
        {
            this.Hue = 589;

            this.Name = ("Slither");

            this.Blessed = RandomTalisman.GetRandomBlessed();

            this.Attributes.BonusHits    = 10;
            this.Attributes.RegenHits    = 2;
            this.Attributes.DefendChance = 10;
        }
示例#13
0
		public override void GiveRewards()
		{
			//Random gold amount to add
			BankCheck gold = new BankCheck( Utility.RandomMinMax( 200, 300 ) );
			if( !Owner.AddToBackpack( gold ) )
			{
				gold.MoveToWorld(Owner.Location,Owner.Map);
			}

			//Adding Quest Reward Token(s)
			for(int x = 0; x < 1; x++)
			{
				RandomTalisman talisman = new RandomTalisman();
				if(!Owner.AddToBackpack( talisman ) )
				{
					talisman.MoveToWorld(Owner.Location,Owner.Map);
				}
			}
			Item bonusitem;
			bonusitem = new Bandage( 10 );
			//Adding Bonus Item #1
			if(!Owner.AddToBackpack( bonusitem ) )
			{
				bonusitem.MoveToWorld(Owner.Location,Owner.Map);
			}

			Item item;
			//Add Reward Item #1
			item = new AdventurersMachete();
			if( item is BaseWeapon )
				BaseRunicTool.ApplyAttributesTo((BaseWeapon)item,  Utility.RandomMinMax( 1,4 ), 10, 50 );
			if( item is BaseArmor )
				BaseRunicTool.ApplyAttributesTo((BaseArmor)item,  Utility.RandomMinMax( 1,4 ), 10, 50 );
			if( item is BaseJewel )
				BaseRunicTool.ApplyAttributesTo((BaseJewel)item,  Utility.RandomMinMax( 1,4 ), 10, 50 );
			if( item is BaseHat )
				BaseRunicTool.ApplyAttributesTo((BaseHat)item,  Utility.RandomMinMax( 1,4 ), 10, 50 );
			if(!Owner.AddToBackpack( item ) )
			{
				item.MoveToWorld(Owner.Location,Owner.Map);
			}

			base.GiveRewards();
		}
		public override void GiveRewards()
		{
			//Random gold amount to add
			BankCheck gold = new BankCheck( Utility.RandomMinMax( 2000, 3000 ) );
			if( !Owner.AddToBackpack( gold ) )
			{
				gold.MoveToWorld(Owner.Location,Owner.Map);
			}

			//Add Quest Reward Token(s)
			//Owner.AddToBackpack( new QuestRewardToken( 1 ) );

			//Adding Quest Reward Token(s)
			for(int x = 0; x < 1; x++)
			{
				RandomTalisman talisman = new RandomTalisman();
				if(!Owner.AddToBackpack( talisman ) )
				{
					talisman.MoveToWorld(Owner.Location,Owner.Map);
				}
			}
			base.GiveRewards();
		}
示例#15
0
 public override Type GetSummonType()
 {
     return(RandomTalisman.GetRandomSummonType());
 }
		public override void GiveRewards()
		{
			//Random gold amount to add
			BankCheck gold = new BankCheck( Utility.RandomMinMax( 500, 600 ) );
			if( !Owner.AddToBackpack( gold ) )
			{
				gold.MoveToWorld(Owner.Location,Owner.Map);
			}

			//Adding Quest Reward Token(s)
			for(int x = 0; x < 1; x++)
			{
				RandomTalisman talisman = new RandomTalisman();
				if(!Owner.AddToBackpack( talisman ) )
				{
					talisman.MoveToWorld(Owner.Location,Owner.Map);
				}
			}
			Item bonusitem;
			bonusitem = new DullCopperIngot( 20 );
			//Adding Bonus Item #1
			if(!Owner.AddToBackpack( bonusitem ) )
			{
				bonusitem.MoveToWorld(Owner.Location,Owner.Map);
			}

			bonusitem = new ShadowIronIngot( 20 );
			//Adding Bonus Item #2
			if(!Owner.AddToBackpack( bonusitem ) )
			{
				bonusitem.MoveToWorld(Owner.Location,Owner.Map);
			}

			bonusitem = new CopperIngot( 20 );
			//Adding Bonus Item #3
			if(!Owner.AddToBackpack( bonusitem ) )
			{
				bonusitem.MoveToWorld(Owner.Location,Owner.Map);
			}

			bonusitem = new BronzeIngot( 20 );
			//Adding Bonus Item #4
			if(!Owner.AddToBackpack( bonusitem ) )
			{
				bonusitem.MoveToWorld(Owner.Location,Owner.Map);
			}

			bonusitem = new GoldIngot( 20 );
			//Adding Bonus Item #5
			if(!Owner.AddToBackpack( bonusitem ) )
			{
				bonusitem.MoveToWorld(Owner.Location,Owner.Map);
			}

			bonusitem = new AgapiteIngot( 20 );
			//Adding Bonus Item #6
			if(!Owner.AddToBackpack( bonusitem ) )
			{
				bonusitem.MoveToWorld(Owner.Location,Owner.Map);
			}

			bonusitem = new VeriteIngot( 20 );
			//Adding Bonus Item #7
			if(!Owner.AddToBackpack( bonusitem ) )
			{
				bonusitem.MoveToWorld(Owner.Location,Owner.Map);
			}

			bonusitem = new ValoriteIngot( 20 );
			//Adding Bonus Item #8
			if(!Owner.AddToBackpack( bonusitem ) )
			{
				bonusitem.MoveToWorld(Owner.Location,Owner.Map);
			}

			base.GiveRewards();
		}