Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Don't cast spell if spell is already casting


hedgy
 Share

Recommended Posts

Done this in EA 3.0.7\. May work in other versions too.

This will not re-cast a spell if the same spell is already casting. The spell will still be cancelled if you try to cast another spell.

If you don't want the spell to be cancelled no matter what other spell you cast, then simply change "If SpellBuffer = X" and "If SpellBuffer = spellnum" to "If SpellBuffer <> 0"

(client)

at modClientTCP in Sub SendHotbarUse

under

```
If PlayerSpells(X) = Hotbar(Slot).Slot Then
```

add

```
If SpellBuffer = X Then Exit Sub
```

at modInput in Sub Spells_DoubleClick

under

```
If spellnum <> 0 Then
```

add

```
If SpellBuffer = spellnum Then Exit Sub
```
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...