add this to the end of method OnDeath(Container c) in basecreature

Code:
if ( ControlMaster == null && 40 > Utility.RandomDouble() && this.Map == Map.Felucca) // 40= 60% drop
                    {
                        int amount = Utility.RandomMinMax( 1, 5 );
                        switch (Utility.Random(2))
                        {
                            case 0: c.DropItem(new AbyssalCloth(amount)); break;
                            case 1: c.DropItem(new PowderedIron(amount)); break;
				}
		}
 
add this to the end of method OnDeath(Container c) in basecreature

Code:
if ( ControlMaster == null && 40 > Utility.RandomDouble() && this.Map == Map.Felucca) // 40= 60% drop
                    {
                        int amount = Utility.RandomMinMax( 1, 5 );
                        switch (Utility.Random(2))
                        {
                            case 0: c.DropItem(new AbyssalCloth(amount)); break;
                            case 1: c.DropItem(new PowderedIron(amount)); break;
				}
		}

Thank you! I shall play around with that now.
[doublepost=1486455809][/doublepost]

Well I added it with no errors but the items dont seem to be dropping from anything in Felucca.
And arent Felucca trees suppose to be bare? Mine are covered in leaves.


EDIT: Got it working by adding it under this

Code:
  // Eodon Recipe/Armor set drops
  CheckRecipeDrop(this, c);

  for (int i = 0; i < titles.Count; ++i)
  {
 	 Titles.AwardFame(titles[i], fame[i], true);
 	 Titles.AwardKarma(titles[i], karma[i], true);
  }
  }

So now it looks like this
Code:
  // Eodon Recipe/Armor set drops
  CheckRecipeDrop(this, c);

  for (int i = 0; i < titles.Count; ++i)
  {
  Titles.AwardFame(titles[i], fame[i], true);
  Titles.AwardKarma(titles[i], karma[i], true);
  }
  }
         
  if ( ControlMaster == null && 40 > Utility.RandomDouble() && this.Map == Map.Felucca) // 40= 60% drop
  	{
 		 int amount = Utility.RandomMinMax( 1, 5 );
 		 switch (Utility.Random(2))
		{
			case 0: c.DropItem(new AbyssalCloth(amount)); break;
			case 1: c.DropItem(new PowderedIron(amount)); break;
              }
	}
 
Last edited:
Back