Page 1 of 1

Updates to ISXEQ.NET for the new Target Type with buff info

Posted: Sun Nov 02, 2008 3:30 pm
by spanners
Change ISXEQ.cs:

Code: Select all

        public static EQSpawn Target
        {
            get { return new EQSpawn(LavishScriptAPI.LavishScript.Objects.GetPersistentObject("Target")); }
        }
to

Code: Select all

        public static EQTarget Target
        {
            get { return new EQTarget(LavishScriptAPI.LavishScript.Objects.GetPersistentObject("Target")); }
        }
Add the following class:

EQTarget.cs

Code: Select all

using System;
using System.Collections.Generic;
using LavishVMAPI;

namespace ISXEQ.EQTypes
{
    public class EQTarget : EQSpawn
    {
        public EQTarget()
            : base(LavishScriptAPI.LavishScript.Objects.GetPersistentObject("Target"))
        {
        }

        public EQTarget(LavishScriptAPI.LavishScriptPersistentObject lavishObj)
            : base(lavishObj)
        {
        }

        /// <summary>
        /// BuffCount
        /// </summary>
        public int BuffCount
        {
            get { return GetMember<int>("BuffCount"); }
        }

        /// <summary>
        /// Buff
        /// </summary>
        public string Buff(string BuffName)
        {
            return GetMember<string>("Buff", BuffName);
        }

        /// <summary>
        /// Buff
        /// </summary>
        public string Buff(int BuffIndex)
        {
            return GetMember<string>("Buff", BuffIndex.ToString());
        }

        /// <summary>
        /// BuffDuration
        /// </summary>
        public int BuffDuration(string BuffName)
        {
            return GetMember<int>("BuffDuration", BuffName);
        }

        /// <summary>
        /// BuffDuration
        /// </summary>
        public int BuffDuration(int BuffIndex)
        {
            return GetMember<int>("BuffDuration", BuffIndex.ToString());
        }
    }
}
This script will simply examine the target's buffs and print out a list of buff names with ticks of duration left:

Code: Select all

using System;
using System.Threading;
using System.Text.RegularExpressions;
using LavishScriptAPI;
using IS = InnerSpaceAPI.InnerSpace;
using ISXEQ.EQTypes;
using EQ = ISXEQ.EQ;

namespace EQBot
{
    class TestTarget
    {

        static void Main()
        {
            EQTarget target = EQ.Target;

            IS.Echo(target.CleanName + " has the following buffs:");
            for (int i = 1; i <= target.BuffCount; i++)
            {
                IS.Echo(target.Buff(i) + " with " + target.BuffDuration(i).ToString() + " ticks left");
            }          
        }
    }
}

Awesome Mobility Scooter Info

Posted: Mon Jul 24, 2023 8:06 pm
by FrankJScott
For the guy asking about lightweight wheelchair rental orlando, wheelchair at universal studios, ecv rental disneyland, scooters orlando, disney ecv rental cost, renting a scooter at magic kingdom, I highly suggest this mobility scooter tips or universal studios electric scooter rental, used mobility scooters orlando, jazzy rentals near me, kick scooter rental near me, knee scooter rental disney world, mobility scooter rental near me, as well as this mobility scooter blog as well as scooter rentals orlando area, electric scooter rental disneyland, wheelchair accessible van rental orlando fl, scooter hire disney world, rent scooter universal orlando, apple scooter rental orlando florida, alongside all this mobility scooter blog which is as good as handicap cart rental near me, rent to own scooter near me, universal orlando wheelchair rental price, walt disney world electric scooter rental, scooter on hire near me, electric motorcycle rental near me, as well as mobility scooter site on top of scooters in disney, electric scooter for rent near me, hire a scooter near me, disney world motorized scooter rental, scooters downtown orlando, best wheelchair rental orlando, on top of this mobility scooter link and don't forget magic mountain wheelchair rental, universal studios orlando ecv rental, scooter vacations orlando, scooter rental disneyland, wdw ecv rental, mobility scooter universal orlando, as well as mobility scooter site which is about apple scooter orlando florida, epcot scooter rental, scooters at universal studios orlando, rent mobility scooter disney world, vogo scooter rental near me, carowinds scooter rental, and don't forget this mobility scooter tips not to mention electric kick scooter rental near me, renting a scooter at magic kingdom, scooter rental for universal studios, disney scooter rental cost, cheap moped rentals near me, cost to rent a scooter at disney world, and don't forget this mobility scooter link and don't forget moto scooter rental near me, buena vista scooters orlando, universal studio wheelchair rental, electric scooter disney world, electric scooter for rent near me, big orange scooter rentals orlando fl, on top of mobility scooter tips as well as electric scooter rental disneyland, moped scooters for rent near me, disney park scooter rental, using scooters at disney world, places to rent a scooter near me, walker scooter rental orlando, which is also great. Finally, have a look at this mobility scooter tips with wheelchair hire orlando florida, double scooter rental disney world, scootarama orlando, delivery scooter for rent near me, wheelchair and scooter rental near me, rent motor scooters near me, for good measure. Check more @ Top Rated Business Massage Blog 72_012e