ATruGod

Member
ATruGod submitted a new resource:

Burrowing Ant Lions - They dig holes

This will make Your Ant Lions dig tunnels, the burrowing method was submitted via script support (in RunUO...sometime back) I coped it and added a couple more sets of bones (Warrior and Healer) by a different member (Peoharen...noted in script).

If You've added the BaseSpecialCreature (from 2 of My other submissions) You can go into AntLion.cs and uncomment the 3 lines to make it unescapable and able to dodge hits (making them even tougher).

Read more about this resource...
 
Nice... One small thing to fix. The Ant Lion regains some health when he burrows, making it harder to put him down each time his timer goes off he burrows and regains health. Having trouble fixing that atm.
this is how I remeber them, it makes them more challenging.


and you forgot to add the peculiar seed drop:

Code:
if (Core.ML && Utility.RandomDouble() < .33)
this.PackItem(Engines.Plants.Seed.RandomPeculiarSeed(2));
 
Last edited:
Could you possible Update this? Having some trouble with the latest ServUO.
Code:
Errors:
 + Mobiles/Normal/AntLion.cs:
    CS0266: Line 99: Cannot implicitly convert type 'Server.IDamageable' to 'Ser
ver.Mobile'. An explicit conversion exists (are you missing a cast?)
Scripts: One or more scripts failed to compile or no script files were found.

Code:
public override void OnActionCombat()
        {
        
            Mobile combatant = Combatant; //LINE 99

            if ( combatant == null || combatant.Deleted || combatant.Map != Map || !InRange( combatant, 12 ) || !CanBeHarmful( combatant ) || !InLOS( combatant ) )
                return;
            if ( DateTime.Now > m_NextPoisonSpit )
            {
                m_NextPoisonSpit = DateTime.Now + TimeSpan.FromSeconds( 5.0 + (10.0 * Utility.RandomDouble()) ); // 5-15 seconds
                this.GetDirectionTo( combatant.Location ); //check direction
                this.Freeze( TimeSpan.FromSeconds( 2 ) ); //freeze for animation
                this.Animate( 12, 5, 1, true, false, 0 ); //animation
                this.PlaySound( GetAngerSound() ); // Sound
                new PoisonTimer( this, combatant, (int)this.Hits ).Start(); // start timer with saved current hits value
            }
        }

Changing Mobile to IDamageable retuns the following:

Code:
Errors:
+ Mobiles/Normal/AntLion.cs:
    CS1502: Line 110: The best overloaded method match for 'Server.Mobiles.AntLi
on.PoisonTimer.PoisonTimer(Server.Mobile, Server.Mobile, int)' has some invalid
arguments
    CS1503: Line 110: Argument 2: cannot convert from 'Server.IDamageable' to 'S
erver.Mobile'
Scripts: One or more scripts failed to compile or no script files were found.

Which is this section:
Code:
new PoisonTimer( this, combatant, (int)this.Hits ).Start(); // start timer with saved current hits value
 
Last edited:

Active Shards

Donations

Total amount
$50.00
Goal
$1,000.00
Back