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

Kinda Confused….


LukBrave
 Share

Recommended Posts

```
If Player(Index).level = 10 Then
            n = 4
            i = FindOpenSpellSlot(Index)

                    If Not HasSpell(Index, n) Then
                                  Player(Index).Spell(i).Spell = n
                                    Call PlayerMsg(Index, "The Gods have smiled upon you for your dedication, you can now use " & Trim$(Spell(n).Name) & ".", BrightGreen)
                                    SendPlayerSpells Index
                                End If
                            End If
```Adapt it to your needs.
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...