Jump to content
  • 0

Turn ES Skills on PvP | WoE Off


Werdio

Question


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  248
  • Reputation:   1
  • Joined:  06/27/12
  • Last Seen:  

Hi,

I just want to know how I can turn the ES Skills of the Soul Linker class off?

Sry for my bad english ^-^

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

trunk/conf/mapflag/restricted.txt

//===== eAthena Script =======================================

//= Map flags that disable certain items/skills configured in

//= item_noequip.txt and skill_nocast_db.txt

mymap    mapflag    restricted    <number>

trunk/db/re/skill_nocast_db.txt

// Forbidden Skills Database

//

// 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 - they're 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)

/gawi

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

EDIT :

seen I mistake the problem, haha.

FOR EXAMPLE:

look for

int skill_castend_nodamage_id (struct block_list* src, stru

add

if (skillid > 0 && skilllv <= 0) return 0;
if( skill_specialcheck(skillid) == true ) return 0; //add

define

bool skill_specialcheck(int skillid)
{
if( agit_flag == 0 )
 return false;
if( skillid == SL_HUNTER )
 return true;
return false;
}

then you can't use Spirit of the Hunter during WoE

(not sure is that what you want)

Edited by goddameit
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  248
  • Reputation:   1
  • Joined:  06/27/12
  • Last Seen:  

I want to turn the ES Skills of the Soul linker off on PVP MAPS AND WOE MAPS.

Example: Esma, Eske, Estin ....

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Refer post above, in trunk/db/re/skill_nocast_db.txt

// PvP + GvG
467,6	// Estin
468,6	// Estun
469,6	// Esma
470,6	// Eswoo
471,6	// Eske
472,6	// Eska

// Example:

// 8,6 = Endure cannot be used in PvP and GvG maps (2+4)

/hmm

Edited by Capuche
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  248
  • Reputation:   1
  • Joined:  06/27/12
  • Last Seen:  

Thank you , thats more easy than the other explanations.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

You're welcome /$

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  248
  • Reputation:   1
  • Joined:  06/27/12
  • Last Seen:  

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