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

Animation over PlayerTarget?


Squiddle
 Share

Recommended Posts

Hmmm, still getting Subscript out of Range. Here's my Case 1 of my Scripted Spell Sub:

```
Case 1
range = Rand(+3,-3)
dmg = ((GetPlayerMAGI(Index) / 2) + range)
Target = GetPlayerTargetNPC(Index)
            Call DamageNPC(Index, Target, (dmg+5))
Call SpellAnim(1, GetPlayermap(Index), GetPlayerx(GetPlayerTargetNPC(Index)), GetPlayerx(GetPlayerTargetNPC(Index)))
Call SetPlayerMP(index, (GetPlayerMP(index)-10))
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...