Jump to content
  • 0
HisokaMachi

help on this script

Question

8 answers to this question

Recommended Posts

  • 0

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

Share this post


Link to post
Share on other sites
  • 0

EEHHHHHHHHH ?

so it doesn't block *itemskill ?

 

I wonder is this a bug ...

Share this post


Link to post
Share on other sites
  • 0

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. 

Edited by Dastgir Pojee

Share this post


Link to post
Share on other sites
  • 0

not sure if this is a bug, but its so simple to fix

 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);

Share this post


Link to post
Share on other sites
  • 0

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 :D

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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