Jump to content
  • 0

How to Disable Maya Purple Card During WoE


Bringer

Question


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  742
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

can anyone help me about this problem

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  742
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

Try this?

http://rathena.org/board/topic/77378-skillitem-map-restriction-now-supports-multiple-maps/

//<nameid>:<map1>{,<map2>,<map3>,<map4>,...}

//Disables Red Potion usage in Prontera and Payon

4198:prtg_cas01,prtg_cas02 .... and so on

 

i dont know how to patch that any guide ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  80
  • Reputation:   14
  • Joined:  05/29/13
  • Last Seen:  

First find the . txt file. item_mapdeny.txt
and add the map like this.

//Disables Red Potion usage in Prontera and Payon
501:prontera,payon

501 = Red potion item ID.

and the map

prontera,payon.

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:  

change your maya purple card script to be like this.
 

if(!getmapflag(strcharinfo(3),26)){bonus bIntravision,0;}

Maya Purple will not work at castle

Untested, more info and support contact me ;)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  104
  • Reputation:   27
  • Joined:  12/05/13
  • Last Seen:  

Use the item_noequip.txt in your db/import folder.

 

 

// Forbidden Items Database
// Defines restrictions on equipment, items, and cards in map types and zones.

//
// Structure of Database:
// ItemID,Flag
//
// Legend for 'Flag' field (bitmask):
// 1    - restricted in normal maps
// 2    - restricted in PVP
// 4    - restricted in GVG
// 8    - restricted in Battlegrounds

 

 

So, just add the following in the said file:

4198,4

Make sure to use @reload item for the changes to take effect.

 

Edit: The above statement also disables the card in other GvG Maps. If you don't want those to be affected, add a restricted zone mapflag to the castles, and change the flag in the db folder accordingly.


Example:

Script file:

prtg_cas01    mapflag    restricted    <zone>

Let's say the zone you used is 5, so you will be using 512 as your flag in the item_noequip.txt (there's an explanation in the file).

 

 

item_noequip.txt

4198,512
Edited by kalkalkal
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  742
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

 

Use the item_noequip.txt in your db/import folder.

 

 

// Forbidden Items Database

// Defines restrictions on equipment, items, and cards in map types and zones.

//

// Structure of Database:

// ItemID,Flag

//

// Legend for 'Flag' field (bitmask):

// 1    - restricted in normal maps

// 2    - restricted in PVP

// 4    - restricted in GVG

// 8    - restricted in Battlegrounds

 

 

So, just add the following in the said file:

4198,4

Make sure to use @reload item for the changes to take effect.

 

Edit: The above statement also disables the card in other GvG Maps. If you don't want those to be affected, add a restricted zone mapflag to the castles, and change the flag in the db folder accordingly.

Example:

Script file:

prtg_cas01    mapflag    restricted    <zone>

Let's say the zone you used is 5, so you will be using 512 as your flag in the item_noequip.txt (there's an explanation in the file).

 

 

item_noequip.txt

4198,512

Thanks its Working now

Edited by DrewxD
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...