Jump to content
  • 0

Modification of the skill "teleport"


Adam

Question


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  111
  • Reputation:   3
  • Joined:  06/29/12
  • Last Seen:  

Hi folks,

I need your help regarding this skill on 2 different points :

1- On my server at the moment, once you learnt teleport 2, you can not "just" select the level 1 anymore (like you can select a Storm Gust level); how can I modify this please?

2- I would like the Level 1 teleport to work like a flywing; meaning you don't have to confirm with enter you teleport right away.

Thanks !

Edited by iROnic
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   2
  • Joined:  07/08/12
  • Last Seen:  

data/lua files/skillinfoz/skillinfolist.lua

In this client file check for

[sKID.AL_TELEPORT] = {
	"AL_TELEPORT";
	SkillName = "Teleportation",
	MaxLv = 2,
	SpAmount = { 10, 9 },
	bSeperateLv = false,
	AttackRange = { 1, 1 },
	_NeedSkillList = {
		{ SKID.AL_RUWACH,1 }
	}
},

and change bSeperateLv to true

Teleport Lv.1 basically works like a Fly Wing (maybe not in renewal :o )

(i assume that you have all the lua files updated..)

Edited by Loky
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  111
  • Reputation:   3
  • Joined:  06/29/12
  • Last Seen:  

Thanks, I ll try this asap

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  154
  • Reputation:   8
  • Joined:  05/31/12
  • Last Seen:  

Solved:

Solution:

check skillinfo_f.lua if function 8 exist:

-- Function #8
IsLevelUseSkill = function(SkillID)
 local obj = SKILL_INFO_LIST[skillID]
	   if obj ~= nil then
		   obj = SKILL_INFO_LIST[skillID].SpAmount
		   end
			 if obj ~= nil then
					 return 1
					  end
					  return 0
end

New lua isnt functioning like that "if in not mistaken"

And

skillinfolist.lua

    [sKID.AL_TELEPORT] = {
		    "AL_TELEPORT";
		    SkillName = "Teleportation",
		    MaxLv = 2,
		    SpAmount = { 10, 9 },
		    bSeperateLv = true,
		    AttackRange = { 1, 1 },
		    _NeedSkillList = {
				    { SKID.AL_RUWACH,1 }
		    }
    },

However you can still be prompted by a dialog to warp into random area. To disable it:

conf/skill.conf

skip_teleport_lv1_menu: yes
  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  111
  • Reputation:   3
  • Joined:  06/29/12
  • Last Seen:  

W00t, Thanks RC :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  11/20/12
  • Last Seen:  

I did this but it still doesn't work. Do I need to recompile or patch anything?

I'm using the latest revision.

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