Need help in dark illusion

Newbie Spellweaver
Joined
May 5, 2013
Messages
34
Reaction score
2
How/where/what to edit in dark illusion skill to not cancel "invisible mode" when you use any skill (just self buffering, not when you attack).

Eg.

You are preparing yourself to duel and then use Bow Mastery, Perfect Block, Fast Walker, Special Bow Mastery and Dark Illusion, its OK, go duel normally

but.....

You are preparing yourself to duel and then use Bow Mastery, Perfect Block, Dark Illusion, Fast Walker, Special Bow Mastery. The Dark Illusion get cancelled and you are visible again before duel starts.

I know thats not really a bug, but there is a way to cancel that?
 
Dark Illusion is an advantage already, you should ''block'' any self buff usage while active :junglejane:
If you wish to allow self buff to be used anyway, go for it
On
Code:
CCtrl::DoApplySkillEx
Search for
Code:
if( pSkillProp->dwID != SI_ACR_SUP_DARKILLUSION )        {
            if( ((CMover *)pSrc)->HasBuff( BUFF_SKILL, SI_ACR_SUP_DARKILLUSION ) )
            {
                ((CMover *)pSrc)->SetDarkCover( FALSE );
                ((CMover *)pSrc)->RemoveBuff( BUFF_SKILL, SI_ACR_SUP_DARKILLUSION );        // ÇØÁ¦
            }
}
Change whatever you want
 
Last edited:
is the buff removed? I mean the time.. or is it still in the buff list but you're not invisible?

Eg...

You are a ranger, then you are getting buffered.

1º bow mastery / 2º perfect block / 3º Special Bow Mastery / 4º Dark Illusion.. When you attack, you get visible again. Thats normal, ok.

But, by mistake, you forgot a buff and use dark illusion before other skill...

1º bow mastery / 2º perfect block / 3º Dark Illusion / 4º Special Bow Mastery / you get visible without attack.


Dark Illusion is an advantage already, you should ''block'' any self buff usage while active :junglejane:
If you wish to allow self buff to be used anyway, go for it
On
Code:
CCtrl::DoApplySkillEx
Search for
Code:
if( pSkillProp->dwID != SI_ACR_SUP_DARKILLUSION )        {
            if( ((CMover *)pSrc)->HasBuff( BUFF_SKILL, SI_ACR_SUP_DARKILLUSION ) )
            {
                ((CMover *)pSrc)->SetDarkCover( FALSE );
                ((CMover *)pSrc)->RemoveBuff( BUFF_SKILL, SI_ACR_SUP_DARKILLUSION );        // ÇØÁ¦
            }
}
Change whatever you want

Jarry, I will check it, thanks!
 
Back