MatheusRDS Posted April 14, 2020 Group: Members Topic Count: 13 Topics Per Day: 0.01 Content Count: 30 Reputation: 2 Joined: 11/24/18 Last Seen: April 3, 2021 Share Posted April 14, 2020 Como faço pra criar um item que só tenha efeito em mapas GvG? alguém poderia me explicar, ficarei grato! Quote Link to comment Share on other sites More sharing options...
0 Chaos92 Posted April 14, 2020 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1826 Reputation: 288 Joined: 08/03/12 Last Seen: 45 minutes ago Share Posted April 14, 2020 1 hour ago, MatheusRDS said: How do I create an item that only has an effect on GvG maps? could someone explain to me, i will be grateful! By using item_noequip.txt. // 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 // 16 - restricted in WOE:TE castles // Restricted zones - configured by 'restricted <number>' mapflag // 32 - restricted in zone 1 // 64 - restricted in zone 2 // 128 - restricted in zone 3 // 256 - restricted in zone 4 // 512 - restricted in zone 5 // 1024 - restricted in zone 6 // 2048 - restricted in zone 7 // 4096 - restricted in zone 8 // // Passing negative value as flag will unset the flag instead. // // Examples: // 1201,1 // Knife can't be worn on normal maps // 608,4 // Yggdrasil Seed can't be consumed in both GvG and WoE Castles // 4174,6 // Deviling Card has no effect in every PVP or GVG map, and during WoE // 501,32 // Red Potion can't be consumed on maps marked as 'restricted zone 1' // 519,322 // Milk can't be consumed in PVP and maps marked as 'restricted zone 2' or 'restricted zone 4' (256+64+2) // 519,-2 // Unset `restricted in PVP` flag from Milk. Making it usable in PVP again. 1 Quote Link to comment Share on other sites More sharing options...
0 MatheusRDS Posted April 14, 2020 Group: Members Topic Count: 13 Topics Per Day: 0.01 Content Count: 30 Reputation: 2 Joined: 11/24/18 Last Seen: April 3, 2021 Author Share Posted April 14, 2020 obrigado, dessa forma está restringindo por completo o item nos outros maps, mais isso já vai servir. Mais seria possivel, criar um item que caso o player estivesse em um mapa GvG, ele teria um efeito extra? Exemplo: +5 STR, em mapas pvp e normais caso o player estiver em um mapa GvG esse bônus passa a ser +10 STR. thank you, this way you are completely restricting the item on the other maps, but this will do.More would it be possible to create an item that if the player were on a GvG map, it would have an extra effect?Example:+5 STR, on pvp and normal mapsif the player is on a GvG map this bonus becomes +10 STR. Quote Link to comment Share on other sites More sharing options...
0 Chaos92 Posted April 15, 2020 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1826 Reputation: 288 Joined: 08/03/12 Last Seen: 45 minutes ago Share Posted April 15, 2020 4 hours ago, MatheusRDS said: obrigado, dessa forma está restringindo por completo o item nos outros maps, mais isso já vai servir. Mais seria possivel, criar um item que caso o player estivesse em um mapa GvG, ele teria um efeito extra? Exemplo: +5 STR, em mapas pvp e normais caso o player estiver em um mapa GvG esse bônus passa a ser +10 STR. thank you, this way you are completely restricting the item on the other maps, but this will do.More would it be possible to create an item that if the player were on a GvG map, it would have an extra effect?Example:+5 STR, on pvp and normal mapsif the player is on a GvG map this bonus becomes +10 STR. I give you an example . Check in itemdb. 2798,Will_Of_Exhausted_Angel,Will Of Exhausted Angel,4,0,,200,,0,,0,0x00008100,63,2,136,,99,0,0,{ if(strcharinfo(3)=="job3_arch02") { bonus2 bAddDefMonster,1761,50; bonus2 bAddDefMonster,1762,50; } },{},{} u can add bonus using strcharinfo(3) for exact map script.. or if im not mistaken you can use getmapflag(strcharinfo(3),mf_gvg) if you want to include all GVG map listed in GVG mapflag. 1 Quote Link to comment Share on other sites More sharing options...
0 MatheusRDS Posted April 15, 2020 Group: Members Topic Count: 13 Topics Per Day: 0.01 Content Count: 30 Reputation: 2 Joined: 11/24/18 Last Seen: April 3, 2021 Author Share Posted April 15, 2020 Perfect, that's exactly what I was looking for, thank you very much! Quote Link to comment Share on other sites More sharing options...
Question
MatheusRDS
Como faço pra criar um item que só tenha efeito em mapas GvG? alguém poderia me explicar, ficarei grato!
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.