Disable Abracadabra skill in certain area.

karazu

New member
Messages
1,115
Points
0
Hello! I know only need to type in here "map_zone_db.conf", but the problem is I don't know how to type it correctly and where to insert it..



Please help me

.

I am disabling it not in TOWN so mean I cannot insert it there in the town which is already put in default. 



and also disable Knock back  from skills

 
Last edited by a moderator:
you can define a new zone  in map.h  then  use the new zone in map_zone_db.conf

#define MAP_ZONE_YOURS_NAME "YOURS"
not necessary to edit source
default_smile.png
only for the ones specified at map_zone_db.conf

he just need to create a new mapzone and add all he want and set

'<map name><tab>mapflag<tab>zone<tab><zone name>'.

default_smile.png


 
you can define a new zone  in map.h  then  use the new zone in map_zone_db.conf

#define MAP_ZONE_YOURS_NAME "YOURS"
not necessary to edit source
default_smile.png
only for the ones specified at map_zone_db.conf

he just need to create a new mapzone and add all he want and set

'<map name><tab>mapflag<tab>zone<tab><zone name>'.

default_smile.png
I am still confused.

lets say I have a custom MAP named TESTMAP

do I still need to edit the SRC for this one?

and for typing it 

'<TESTMAP><tab>mapflag<tab>zone<tab><zone name>'.

more sample please.

 
example, go to the bottom of map_zone_db.conf and add BEFORE the last ) the following:

,{ name: "Custom" disabled_skills: { SA_ABRACADABRA: "PLAYER" } mapflags: ( "noknockback", )} 
now go to any npc script file and add this:

yourmapname<tab>mapflag<tab>zone<tab>Custom

 
Back
Top