Jump to content
  • 0

How to Disable Maya Purple Card During WoE


Question

6 answers to this question

Recommended Posts

Posted

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 ;)

Posted (edited)

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
Posted (edited)

 

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

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