help on this script

RK_STORMBLAST, skill ID 2017

... ok ... but what is the name in the client side translation ?

it seems the client side translation has a totally different name than in hercules emulator

also, isn't there is already a mapflag noskill ...

just wonder is this an active skill or a passive skill ...

because noskill mapflag only deny active skill, but doesn't block passive skill

 
add Runstone_Pertz into map_zone_db and disable it for this map
default_smile.png


 
EEHHHHHHHHH ?

so it doesn't block *itemskill ?

I wonder is this a bug ...

 
pertz is an item haha noskill mapflag dont stop it
But it's script is "itemskill RK_STORMBLAST,1;"(item is casting a skill using scriptcommand) So noskill mapflag should stop this, but that's not happening. 

 
Last edited by a moderator:
not sure if this is a bug, but its so simple to fix

Code:
 src/map/script.c | 2 ++ 1 file changed, 2 insertions(+)diff --git a/src/map/script.c b/src/map/script.cindex bba771a..4e83774 100644--- a/src/map/script.c+++ b/src/map/script.c@@ -8724,6 +8724,8 @@ bool buildin_delitem_search(struct map_session_data* sd, struct item* it, bool e 	sd = script->rid2sd(st); 	if( sd == NULL || sd->ud.skilltimer != INVALID_TIMER ) 		return true;+	if ( map->list[sd->bl.m].flag.noskill )+		return true;  	id = ( script_isstringtype(st,2) ? skill->name2id(script_getstr(st,2)) : script_getnum(st,2) ); 	lv = script_getnum(st,3);
 
I think it'd be better to report this and get a core dev to elucidate whether it's a bug or not.

Or if it's a good reason to add yet another conf parameter
default_biggrin.png


 
Back
Top