Jump to content
  • 0

[HELP] Adding new skills


Question

Posted

How can i add new skill for certain class.

Example: I wanna add Light armor mastery to BD.

 

When i add skill to skill_trees, it shows me err in GS, could not store char skills... duplicate entry.

8 answers to this question

Recommended Posts

  • 0
Posted

ok if u want to add LA to BD first u have to find skill ID and class ID, after this go to skill_trees table.

 

class_id    skill_id      level                name                  sp                  min_level

BD-ID        LA-ID    Skill LVL    Light Armor master      xxxxxxx            Character lvl

 

u can do it by a sql file too using Insert into skill_trees values (BD-ID, LA-ID, Skill Lvl, skill name, sp, lvl to learn)

 

  • 0
Posted

check:

INSERT INTO `skill_trees` VALUES ('118', '10002', '1', 'New Skill', '1', '78');

 

it's causing error while saving char_skills.

It says duplicate entry dunno why.

  • 0
Posted

Primary key for skill_trees table:

 

PRIMARY KEY (`class_id`,`skill_id`,`level`)

 

So You should check these lines.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...