I would like to know how to increase the max spell count.
I tried to change this variable in PlayerOptions.cs:Â
Â
Quote
    /// <summary>
    /// Number of spell slots a player has.
    /// </summary>
    public int MaxSpells = 100;
Â
I already set MaxSpells to 100, but if I try to cast a Spell like this:
Â
Quote
    private static void TimerCallback(Object o)
    {
      if (Globals.LoggedIn == true) {
        // PacketSender.SendChatMsg("Test", 0);
        PacketSender.SendUseSpell(35, Guid.Empty); //Last Slot + 1
      }
    }
Â
I get kicked by the Server. If I set it to 34, the last skill gets casted.
I don't need the Skill-Menu, so it's not a big deal to not see the Skill in the menu because it's index is more than 34.
Â
So how to cast a Skill above the maximum Skill Count?
In the database Player_Spells I can see, that I only have 35 Skills learned, even If I learned more ingame by event.
So that will be the reason for the kick. Now I would love to know how to increase the amount.
Question
iLeGiTiMx
Hey there,Â
Â
I would like to know how to increase the max spell count.
I tried to change this variable in PlayerOptions.cs:Â
Â
Â
I already set MaxSpells to 100, but if I try to cast a Spell like this:
Â
Â
I get kicked by the Server. If I set it to 34, the last skill gets casted.
I don't need the Skill-Menu, so it's not a big deal to not see the Skill in the menu because it's index is more than 34.
Â
So how to cast a Skill above the maximum Skill Count?
In the database Player_Spells I can see, that I only have 35 Skills learned, even If I learned more ingame by event.
So that will be the reason for the kick. Now I would love to know how to increase the amount.
Â
Thank you and have a great day! :-)
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now