map_zone_db.conf allows to restrict an ITEM TYPE

AnnieRuru

~~Cute~Cute~Scripter~~
Messages
1,677
Points
0
Location
your next door ~
Discord
AnnieRuru#1609
Github
AnnieRuru
Emulator
Client Version
2019-05-30aRagexeRE
ok ... its my turn to give suggestion time ..

http://rathena.org/board/topic/77088-certain-map-weapon-restriction/?p=239342

noitem mapflag meant for rathena

when compare my code and hercules map_zone_db.conf

hercules can already restrict items by ID

but my modifications can allow to restrict an item type

example

pvp_y_1-1 mapflag noitem 0this pvp map cannot use healing items
Code:
event_gm	mapflag	noitem	4,5
this gm hosting event will disallow players to equip any kind of equipments
so how about hercules have the same thing

Code:
{	name: "PvP no Pot"	inherit: ( "PvP" )	disabled_items: {		IT_HEALING: true	}},
Code:
{	name: "GM event"	disabled_items: {		IT_WEAPON: true		IT_ARMOR: true	}},
 
Last edited by a moderator:
I love this idea 
default_blush.png


 
going to make a pull request for it if enough people still wants it to be added!

 
I hope it  can also restrict an item group  so that we can define our custom group

for example  mvpcard group 、 god item group and so on..

 
Last edited by a moderator:
ok ... its my turn to give suggestion time ..

http://rathena.org/board/topic/77088-certain-map-weapon-restriction/?p=239342

noitem mapflag meant for rathena

when compare my code and hercules map_zone_db.conf

hercules can already restrict items by ID

but my modifications can allow to restrict an item type

example

pvp_y_1-1 mapflag noitem 0this pvp map cannot use healing items
Code:
event_gm	mapflag	noitem	4,5
this gm hosting event will disallow players to equip any kind of equipments
so how about hercules have the same thing

{ name: "PvP no Pot" inherit: ( "PvP" ) disabled_items: { IT_HEALING: true }},
Code:
{	name: "GM event"	disabled_items: {		IT_WEAPON: true		IT_ARMOR: true	}},
Difinitely a fantastic addition to map_zone_db

Go Go! Hercules
default_smile.png


 
Back
Top