ScriptUO

Scripting Resources & Utilities => Stealth Client => Topic started by: bendel on November 12, 2017, 10:04:24 AM

Title: spell in use
Post by: bendel on November 12, 2017, 10:04:24 AM
Hello,

There is a way to check if a spell are in use or ended casting ?
I know possible to know when the spell ending if cursor open or like Magic Reflection show in buff. 

Thanks
Title: Re: spell in use
Post by: The Ghost on November 12, 2017, 12:41:40 PM
Check in your status
 
Code: [Select]
f #CHARSTATUS = A
{
wait to finish spell
}
i
Title: Re: spell in use
Post by: bendel on November 12, 2017, 01:12:57 PM
it's "frozen", I'm looking for another way.

I would like to simulate a hotkey like the EC Client, when we click on a spell it turns red until the end of the cast.
the problem of charstatus "A" is that there are too many conditions for what i want.

i wonder if there is a packet that handle it or it's client itself.
Title: Re: spell in use
Post by: The Ghost on November 12, 2017, 01:14:32 PM
Maybe if you post the spell issue , we might be able to provide a better solution.
Title: Re: spell in use
Post by: bendel on November 12, 2017, 01:21:31 PM
ok, basically.
I would like to make a hotkey bar simulator like EC, for all spells. What I would like is to be able to make the spell buttons turn red once I click on until the cast is finished.

For that, I need to know the status of my character when he cast a spell.

For example, "Invisibility" we know that the cast is no longer active once the cursor is open, or when  casting magic reflection, the buff is activated.
Title: Re: spell in use
Post by: The Ghost on November 12, 2017, 01:27:43 PM
No need to build it, just look here.   someone had one made for all the spell.

 https://www.easyuo.com/forum/viewtopic.php?f=3&t=18734 (https://www.easyuo.com/forum/viewtopic.php?f=3&t=18734)