Jump to content
  • 0

Improve Concentration Item


TiMz

Question


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  192
  • Reputation:   9
  • Joined:  05/08/13
  • Last Seen:  

I've been trying to replicate the effect of Attention Concetration of archers that reveals hidden opponents. Is there a way to add this as an item script without using "useskill?" Just the part of the skill that reveals hidden units. After which I'll add my own sc_start effect and own graphic effect. I just really want to know the isolated script that will reveal hidden units after casting.

Edited by Isaiah
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   1
  • Joined:  04/30/13
  • Last Seen:  

In status.c:

 

	case SC_CONCENTRATE:
		status_change_end(bl, SC_HIDING, -1);
		status_change_end(bl, SC_CLOAKING, -1);
		status_change_end(bl, SC_CLOAKINGEXCEED, -1);
		status_change_end(bl, SC_CAMOUFLAGE, -1);
		status_change_end(bl, SC__INVISIBILITY, -1);
		break;

 

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  192
  • Reputation:   9
  • Joined:  05/08/13
  • Last Seen:  

In status.c:

 

	case SC_CONCENTRATE:
		status_change_end(bl, SC_HIDING, -1);
		status_change_end(bl, SC_CLOAKING, -1);
		status_change_end(bl, SC_CLOAKINGEXCEED, -1);
		status_change_end(bl, SC_CAMOUFLAGE, -1);
		status_change_end(bl, SC__INVISIBILITY, -1);
		break;

 

Yes I tried using item script "sc_concentrate" but it only gives the buff effect but doesn't reveal hidden units.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   1
  • Joined:  04/30/13
  • Last Seen:  

Probably cause SC_CONCENTRATE doesn't have:

 

In skill.c; AC_CONCENTRATION:

			map_foreachinrange( status_change_timer_sub, src,
				skill_get_splash(skillid, skilllv), BL_CHAR,
				src,NULL,type,tick,skillid,skilllv);
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  192
  • Reputation:   9
  • Joined:  05/08/13
  • Last Seen:  

Probably cause SC_CONCENTRATE doesn't have:

 

In skill.c; AC_CONCENTRATION:

			map_foreachinrange( status_change_timer_sub, src,
				skill_get_splash(skillid, skilllv), BL_CHAR,
				src,NULL,type,tick,skillid,skilllv);

So if it's ac_concentration, what would the item script look like. Since I was using sc_start, which doesnt work with that.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   1
  • Joined:  04/30/13
  • Last Seen:  

I don't know, sorry. :/

 

Box of Gloom pretty much does the same thing though.

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...