Jump to content
  • 0

Issue with Passive Skill


Pneuma

Question


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   138
  • Joined:  02/26/14
  • Last Seen:  

Okay so I'm trying to create blank passive skills. They don't have to ANYTHING except be a requirement for a script..

However the custom skill guide on the wiki only explains damaging skills.

src/map/skill.h
ALL_FISHING = 8500,

db/re/skill_db.txt
8500,0,0,0,0,0,1,0,0,no,0,0,0,none,0,0x0,        ALL_FISHING, Fishing

lua files\skillinfoz\skillid.lub
ALL_FISHING = 8500

lua files\skillinfoz\skilldescript.lub
  [SKID.ALL_FISHING] = {
    "Fishing",
    "MAX Lv : 1 ",
    "[Lv 1]: Enables Fishing",
    "^777777Allows the the user to fish at certain locations.",
  },
  
lua files\skillinfoz\skillinfolist.lub
 	[SKID.ALL_FISHING] = {
		"ALL_FISHING";
		SkillName = "Fishing",
		MaxLv = 1,
		SpAmount = { 0 },
		bSeperateLv = false,
		AttackRange = { 1 },
	},

When I use @skillid ALL_FISHING it shows "Skill 8500: (ALL_FISHING)" showing that the skill is in fact ingame. However when I use skill 8500,1,0; to give myself the skill, it says that skill does not exist in my console.

Edited by Pneuma
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  2285
  • Reputation:   748
  • Joined:  06/16/12
  • Last Seen:  

1. skill id to 3040

2. change the skill db to

3040,0,0,0,0,0,0,1,0,no,0,0x1,0,none,0,0x0,ALL_FISHING,Fishing

3. on script, use flag 4, it will ignore skill tree.

skill "ALL_FISHING",1,4;
  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...