Jump to content
  • 0

Modification of the skill "teleport"


Question

Posted (edited)

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

5 answers to this question

Recommended Posts

Posted (edited)

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
Posted

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...