Add delay after cloaking [Azura Strike]

Saenn

New member
Messages
5
Points
0
Hi,

I want to add a delay after cloaking of frilldora card about Azura Strike.

I found that :

skill_blockpc_start(sd, MO_EXTREMITYFIST, 3000);

So, i need at the end of cloaking, can't cast azura for 3 seconds.

And i think, i need to put something while the char is cloaking.

Thanks in advance.

 
Change this
 

skill->blockpc_start (sd, MO_EXTREMITYFIST, 0);toskill->blockpc_start (sd, MO_EXTREMITYFIST, 3000);
 
@edit

or use this instead.

https://github.com/HerculesWS/Hercules/blob/master/src/map/status.c#L10160
.../src/map/status.c
 

case SC_CLOAKING:+   skill->blockpc_start (sd, MO_EXTREMITYFIST, 5000); // 5 seconds delay
 
But they can still cast asura while cloaking.
 
if you dont want that to happen. You can block asura while cloaking. they need to uncloak if they want to cast asura.
 
https://github.com/HerculesWS/Hercules/blob/master/src/map/skill.c#L12773

Code:
   	 case MO_EXTREMITYFIST:    //        if(sc && sc->data[SC_EXTREMITYFIST]) //To disable Asura during the 5 min skill block uncomment this...    //            return 0;            if( sc && (sc->data[SC_BLADESTOP] || sc->data[SC_CURSEDCIRCLE_ATKER]) )                break;+       	 if( sc && (sc->data[SC_CLOAKING] )) // cant cast asura while cloaking.+           	 return 0;
 
Last edited by a moderator:
The last edit is ok.

Can i add sc_cloaking end after "// cant cast asura while cloaking." ?

 
Code:
       	 if( sc && (sc->data[SC_CLOAKING] )) {                status_change_end(&sd->bl,SC_CLOAKING, INVALID_TIMER);                //clif->skill_fail(sd,MO_EXTREMITYFIST,USESKILL_FAIL_LEVEL,0);                return 0;            }
 
Last edited by a moderator:
Oh perfect, thanks man
default_smile.png


 
Back
Top