Jump to content
  • 0

Flywing and teleport


crazyarashi

Question


  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

Good day is it possible to disable teleport skill on a certain map and fly wing is allowed?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  545
  • Reputation:   220
  • Joined:  03/01/13
  • Last Seen:  

I think not since the fly wing uses AL_teleport but you can try restricting the skill anyways. The opposite should work though- restricting fly wing but allowing teleport skill. Try playing with it and let me know what works.

EDIT: Forgot- for disabling teleports as a whole or by types check out the mapflags noreturn and noteleport.

On 7/18/2016 at 9:41 PM, Sryx said:

// Forbidden Skills Database
// Defines unusable skills in map types and zones.
//
// Structure of Database:
// SkillID,Flag
//
// Legend for 'Flag' field (bitmask):
// 1    - cannot be used in normal maps
// 2    - cannot be used in PvP maps (use this instead of 1 for PK-mode servers)
// 4    - cannot be used in GvG maps
// 8    - cannot be used in Battleground maps
// 16   - cannot be cloned (clones will not copy this skill)
// Restricted zones - configured by 'restricted <number>' mapflag
// 32   - cannot be used in zone 1 maps
// 64   - cannot be used in zone 2 maps
// 128  - cannot be used in zone 3 maps
// 256  - cannot be used in zone 4 maps
// 512  - cannot be used in zone 5 maps
// 1024 - cannot be used in zone 6 maps
// 2048 - cannot be used in zone 7 maps
//
// Example:
// 8,6  // Endure cannot be used in PvP and GvG maps (2+4)
  • db/re/skill_nocast_db.txt
  • db/pre-re/skill_nocast_db.txt

 

for zone list

  • npc/mapflag/restricted.txt

 

Hope this helps,
~Azura Skyy

Edited by Azura Skyy
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

1 hour ago, Azura Skyy said:

I think not since the fly wing uses AL_teleport but you can try restricting the skill anyways. The opposite should work though- restricting fly wing but allowing teleport skill. Try playing with it and let me know what works.

EDIT: Forgot- for disabling teleports as a whole or by types check out the mapflags noreturn and noteleport.

 

Hope this helps,
~Azura Skyy

It works thank you!

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