Jump to content
  • 0

SpecialEffect Affecting Explosion


caspa

Question


  • Group:  Members
  • Topic Count:  194
  • Topics Per Day:  0.04
  • Content Count:  499
  • Reputation:   3
  • Joined:  03/11/12
  • Last Seen:  

hi guys.. i have a question regarding specialeffect!

i put this code into the  odins_power and its working fine, however when a champ uses critical explosion, the critical explosion is affected by the specialeffect too.. 

how do i make sure that the specialeffect is applicable to odins_power only....

    case SR_GENTLETOUCH_ENERGYGAIN:
    case SR_GENTLETOUCH_CHANGE:
    case SR_GENTLETOUCH_REVITALIZE:
    case GN_CARTBOOST:
    case ALL_ODINS_POWER:
        if( sd != NULL )
        {
            clif_specialeffect(bl, 75, AREA);
            clif_specialeffect(bl, 99, AREA);
            clif_skill_nodamage(bl, bl, skillid, skilllv, sc_start(bl,type,100,skilllv,skill_get_time(skillid,skilllv)));
        }
        break;
    case RL_E_CHAIN:
    case RL_P_ALTER:
    case RL_HEAT_BARREL:
    case KO_MEIKYOUSISUI:
    case RA_UNLIMIT:
    case AB_OFFERTORIUM:
    case ALL_FULL_THROTTLE:
    case SU_ARCLOUSEDASH:
    case SU_FRESHSHRIMP:

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  64
  • Reputation:   40
  • Joined:  03/26/12
  • Last Seen:  

Change it to this:

    case ALL_ODINS_POWER:
        if( sd != NULL )
        {
		if(skill_id == ALL_ODINS_POWER){
           		clif_specialeffect(bl, 75, AREA);
            		clif_specialeffect(bl, 99, AREA);
		}
            clif_skill_nodamage(bl, bl, skillid, skilllv, sc_start(bl,type,100,skilllv,skill_get_time(skillid,skilllv)));
        }
        break;

 

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

All the cases above odins power will be affected by the effect.

 

SR_GENTLETOUCH_ENERGYGAIN:
    case SR_GENTLETOUCH_CHANGE:
    case SR_GENTLETOUCH_REVITALIZE:
    case GN_CARTBOOST:
    case ALL_ODINS_POWER:
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  194
  • Topics Per Day:  0.04
  • Content Count:  499
  • Reputation:   3
  • Joined:  03/11/12
  • Last Seen:  

2 minutes ago, crazyarashi said:

All the cases above odins power will be affected by the effect.

 


SR_GENTLETOUCH_ENERGYGAIN:
    case SR_GENTLETOUCH_CHANGE:
    case SR_GENTLETOUCH_REVITALIZE:
    case GN_CARTBOOST:
    case ALL_ODINS_POWER:

so do i have to make sure to put the ALL_ODINS_POWER on the first before everything so it doesn't affect any CASE?

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...