On OSI they dropped 25 ore. Needs to be adjusted in the server. ServUo drops one large ore, which isn't much incentive to use the gargoyle pickaxe IMO.
Pub 54 is set for the Ore Elementals that are summoned with the garg pickaxe to drop 25 ore of their prospective ore type. The regular Earth Elemental has only ever dropped 1 ore pile of 5 ore.On OSI they dropped 25 ore. Needs to be adjusted in the server. ServUo drops one large ore, which isn't much incentive to use the gargoyle pickaxe IMO.
BaseCreature spawned = Activator.CreateInstance(res.Types[2], new object[] { 25 }) as BaseCreature;
I glad it got changed.Pub 54 is set for the Ore Elementals that are summoned with the garg pickaxe to drop 25 ore of their prospective ore type. The regular Earth Elemental has only ever dropped 1 ore pile of 5 ore.
Taken from Mining.cs showing coding for 25 ore from spawned/summoned ore elemental.
Code:BaseCreature spawned = Activator.CreateInstance(res.Types[2], new object[] { 25 }) as BaseCreature;
public class VeriteElemental : BaseCreature
{
[Constructable]
public VeriteElemental() : this( 25 )
{
}
[Constructable]
public VeriteElemental( int oreAmount ) : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a verite elemental";
Body = 113;
BaseSoundID = 268;
SetStr( 226, 255 );
SetDex( 126, 145 );
SetInt( 71, 92 );
SetHits( 136, 153 );
SetDamage( 9, 16 );
SetDamageType( ResistanceType.Physical, 50 );
SetDamageType( ResistanceType.Energy, 50 );
SetResistance( ResistanceType.Physical, 30, 40 );
SetResistance( ResistanceType.Fire, 10, 20 );
SetResistance( ResistanceType.Cold, 50, 60 );
SetResistance( ResistanceType.Poison, 50, 60 );
SetResistance( ResistanceType.Energy, 50, 60 );
SetSkill( SkillName.MagicResist, 50.1, 95.0 );
SetSkill( SkillName.Tactics, 60.1, 100.0 );
SetSkill( SkillName.Wrestling, 60.1, 100.0 );
Fame = 3500;
Karma = -3500;
VirtualArmor = 35;
PackItem(new VeriteOre(25));
//Item ore = new VeriteOre( oreAmount );
//ore.ItemID = 0x19B9;
//PackItem( ore );
}
public override void OnHarvestFinished(Mobile from, Item tool, HarvestDefinition def, HarvestVein vein, HarvestBank bank, HarvestResource resource, object harvested)
{
if (tool is GargoylesPickaxe && def == this.m_OreAndStone && 0.1 > Utility.RandomDouble())
{
HarvestResource res = vein.PrimaryResource;
if (res == resource && res.Types.Length >= 3)
{
try
{
Map map = from.Map;
if (map == null)
return;
BaseCreature spawned = Activator.CreateInstance(res.Types[2], new object[] { 25 }) as BaseCreature;
if (spawned != null)
You should get the gems with ores, but also spawn the elementals (gargoyle pickaxe) when I was testing for the amount of ores I did get a gem in my packFound the issue, the gems were in the ore line for some reason!
Just did a test with a Gargoyle Pickaxe, the elemental dropped 25 ore when just killing an elemental they drop 2
View attachment 3272
View attachment 3273
We use essential cookies to make this site work, and optional cookies to enhance your experience.