Jump to content
  • 0
Sign in to follow this  
mybitch

How to do this for archer?

Question

Traps skill can be Pushed or Knock back by Arrow Shower? For example if you place ankle snare and use arrow shower on it. The ankle snare will move a cell.. Currently the situation is that.. if you use arrow shower the traps are being damage..

 

Also..

 

How to split mobs using arrow shower? for example.. mobbed them into one line you could use arrow shower and they all get push back the cells without splitting to the all sides..

 

Thanks!

 

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

How to split mobs using arrow shower? for example.. mobbed them into one line you could use arrow shower and they all get push back the cells without splitting to the all sides..

in skill.c

find

		switch(skill_id) {//direction			case MG_FIREWALL:			case PR_SANCTUARY:			case SC_TRIANGLESHOT:			case LG_OVERBRAND:			case SR_KNUCKLEARROW:			case GN_WALLOFTHORN:			case EL_FIRE_MANTLE:				dir = unit_getdir(bl);// backwards				break;			// This ensures the storm randomly pushes instead of exactly a cell backwards per official mechanics.			case WZ_STORMGUST:				dir = rand()%8;				break;			case WL_CRIMSONROCK:				dir = map_calc_dir(bl,skill_area_temp[4],skill_area_temp[5]);				break;		}
change to
		switch(skill_id) {//direction			case MG_FIREWALL:			case PR_SANCTUARY:			case SC_TRIANGLESHOT:			case LG_OVERBRAND:			case SR_KNUCKLEARROW:			case GN_WALLOFTHORN:			case EL_FIRE_MANTLE:			case AC_SHOWER:				dir = unit_getdir(bl);// backwards				break;			// This ensures the storm randomly pushes instead of exactly a cell backwards per official mechanics.			case WZ_STORMGUST:				dir = rand()%8;				break;			case WL_CRIMSONROCK:				dir = map_calc_dir(bl,skill_area_temp[4],skill_area_temp[5]);				break;		}

Share this post


Link to post
Share on other sites
  • 0

 

Traps skill can be Pushed or Knock back by Arrow Shower? For example if you place ankle snare and use arrow shower on it. The ankle snare will move a cell.. Currently the situation is that.. if you use arrow shower the traps are being damage..

all traps can be blown using arrow shower except ankle snare and electric shocker..

and define in skill.c

 

case BL_SKILL:   su = (struct skill_unit *)target;   if( su && su->group && su->group->unit_id == UNT_ANKLESNARE )    return 0; // ankle snare cannot be knocked back   break;

 

:meow:

Share this post


Link to post
Share on other sites
  • 0

 

 

Traps skill can be Pushed or Knock back by Arrow Shower? For example if you place ankle snare and use arrow shower on it. The ankle snare will move a cell.. Currently the situation is that.. if you use arrow shower the traps are being damage..

all traps can be blown using arrow shower except ankle snare and electric shocker..

and define in skill.c

 

case BL_SKILL:   su = (struct skill_unit *)target;   if( su && su->group && su->group->unit_id == UNT_ANKLESNARE )    return 0; // ankle snare cannot be knocked back   break;

 

:meow:

 

Yes I know. It can't be but how to enable it for them to be knocked back? for example if using ankle snare and electric shocker arrow shower will cause them knock back..

 

Should I do this?

 

 

//case BL_SKILL:   //su = (struct skill_unit *)target;   //if( su && su->group && su->group->unit_id == UNT_ANKLESNARE )    //return 0; // ankle snare cannot be knocked back   //break;
Edited by mybitch

Share this post


Link to post
Share on other sites
  • 0

 

 

 

Traps skill can be Pushed or Knock back by Arrow Shower? For example if you place ankle snare and use arrow shower on it. The ankle snare will move a cell.. Currently the situation is that.. if you use arrow shower the traps are being damage..

all traps can be blown using arrow shower except ankle snare and electric shocker..

and define in skill.c

 

case BL_SKILL:   su = (struct skill_unit *)target;   if( su && su->group && su->group->unit_id == UNT_ANKLESNARE )    return 0; // ankle snare cannot be knocked back   break;

 

:meow:

 

Yes I know. It can't be but how to enable it for them to be knocked back? for example if using ankle snare and electric shocker arrow shower will cause them knock back..

 

Should I do this?

 

 

//case BL_SKILL:   //su = (struct skill_unit *)target;   //if( su && su->group && su->group->unit_id == UNT_ANKLESNARE )    //return 0; // ankle snare cannot be knocked back   //break;

No, please do this:

case BL_SKILL:   su = (struct skill_unit *)target;//   if( su && su->group && su->group->unit_id == UNT_ANKLESNARE )//    return 0; // ankle snare cannot be knocked back   break;

Share this post


Link to post
Share on other sites
  • 0

 

 

 

 

Traps skill can be Pushed or Knock back by Arrow Shower? For example if you place ankle snare and use arrow shower on it. The ankle snare will move a cell.. Currently the situation is that.. if you use arrow shower the traps are being damage..

all traps can be blown using arrow shower except ankle snare and electric shocker..

and define in skill.c

 

case BL_SKILL:   su = (struct skill_unit *)target;   if( su && su->group && su->group->unit_id == UNT_ANKLESNARE )    return 0; // ankle snare cannot be knocked back   break;

 

:meow:

 

Yes I know. It can't be but how to enable it for them to be knocked back? for example if using ankle snare and electric shocker arrow shower will cause them knock back..

 

Should I do this?

 

 

//case BL_SKILL:   //su = (struct skill_unit *)target;   //if( su && su->group && su->group->unit_id == UNT_ANKLESNARE )    //return 0; // ankle snare cannot be knocked back   //break;

No, please do this:

case BL_SKILL:   su = (struct skill_unit *)target;//   if( su && su->group && su->group->unit_id == UNT_ANKLESNARE )//    return 0; // ankle snare cannot be knocked back   break;

 

Thank you! How to do the second one? 

 

How to split mobs using arrow shower? for example.. mobbed them into one line you could use arrow shower and they all get push back the cells without splitting to the all sides..

Share this post


Link to post
Share on other sites
  • 0

 

How to split mobs using arrow shower? for example.. mobbed them into one line you could use arrow shower and they all get push back the cells without splitting to the all sides..

in skill.c

find

		switch(skill_id) {//direction			case MG_FIREWALL:			case PR_SANCTUARY:			case SC_TRIANGLESHOT:			case LG_OVERBRAND:			case SR_KNUCKLEARROW:			case GN_WALLOFTHORN:			case EL_FIRE_MANTLE:				dir = unit_getdir(bl);// backwards				break;			// This ensures the storm randomly pushes instead of exactly a cell backwards per official mechanics.			case WZ_STORMGUST:				dir = rand()%8;				break;			case WL_CRIMSONROCK:				dir = map_calc_dir(bl,skill_area_temp[4],skill_area_temp[5]);				break;		}
change to
		switch(skill_id) {//direction			case MG_FIREWALL:			case PR_SANCTUARY:			case SC_TRIANGLESHOT:			case LG_OVERBRAND:			case SR_KNUCKLEARROW:			case GN_WALLOFTHORN:			case EL_FIRE_MANTLE:			case AC_SHOWER:				dir = unit_getdir(bl);// backwards				break;			// This ensures the storm randomly pushes instead of exactly a cell backwards per official mechanics.			case WZ_STORMGUST:				dir = rand()%8;				break;			case WL_CRIMSONROCK:				dir = map_calc_dir(bl,skill_area_temp[4],skill_area_temp[5]);				break;		}

ty!

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...
Sign in to follow this  

×
×
  • Create New...

Important Information

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