Jump to content
  • 0

Skill require


Deity

Question


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   0
  • Joined:  03/04/12
  • Last Seen:  

how do i add a custom skill requirement on a certain skill?

ex.

to get level2 comet they need to finish a quest

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

how do i add a custom skill requirement on a certain skill?

ex.

to get level2 comet they need to finish a quest

you don't need source modif

just edit your comet max skill level to 1

db/pre-re/skill_db.txt
db/re/skill_db.txt


2213,11,8,2,0,0x2,15,5,-20,yes,0,0,0,magic,2,	WL_COMET,Comet

to

2213,11,8,2,0,0x2,15,1,-20,yes,0,0,0,magic,2,	WL_COMET,Comet

and than

you need build the NPC quest.

After bla bla finish the quest, this code will increase the comet to level 2

 

skill 2213,2,0; // Make the char get level 2 comet

that is only the main idea, you need some conditions check, to make your script nice

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   0
  • Joined:  03/04/12
  • Last Seen:  

i did that, even changed the skill into a quest skill but it didn't work once player have extra skill points they will be able to increase its level anytime

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

client side

 

skillinfolist.lub

[SKID.WL_COMET] = {
		"WL_COMET";
		SkillName = "Comet",
		MaxLv = 1,
		SpAmount = { 480},
		bSeperateLv = true,
		AttackRange = { 11},
		_NeedSkillList = {
			{ SKID.WL_HELLINFERNO,3 }
		}
	},
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  09/21/13
  • Last Seen:  

I think it's client side limitation.

I saw this

http://rathena.org/wiki/Adding_new_skills

and there's a sentence says: To support the skill in the actual client, assuming you're using XRay (required to add new IDs for skills)

I'm messing around with

skillinfolist.lua, skilldescript.lua, skillinfolist.lua

and no luck.

Edited by jigsam
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  215
  • Reputation:   45
  • Joined:  05/03/13
  • Last Seen:  

If we only change on the client, any player can change the files and be able to get the level 2, no ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  09/21/13
  • Last Seen:  

If we only change on the client, any player can change the files and be able to get the level 2, no ?

 

but he's already giving this: 

2213,11,8,2,0,0x2,15,1,-20,yes,0,0,0,magic,2,	WL_COMET,Comet

max lvl 1.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

and yes, player could by pass it by editing lub.

make the lub encrypted to make ur player more harder to find.

tried to make client side crimson rock to level 10,

and i able to increase crimson to level 10, but when you click spend skill, only 5 will only the max.

i think its because the client.

 

Or if you want more complex source snippet, you need contact me in PM /no1

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