Jump to content
AnnieRuru

map_zone_db.conf allows to restrict an ITEM TYPE

Recommended Posts

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	0
this pvp map cannot use healing items
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	}},
{	name: "GM event"	disabled_items: {		IT_WEAPON: true		IT_ARMOR: true	}},
Edited by AnnieRuru

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Edited by Angelmelody

Share this post


Link to post
Share on other sites

 

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	0
this pvp map cannot use healing items
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	}},
{	name: "GM event"	disabled_items: {		IT_WEAPON: true		IT_ARMOR: true	}},

Difinitely a fantastic addition to map_zone_db

 

Go Go! Hercules :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.