Jump to content
  • 0

(solved) add ability to detects hidden and cloaked characters


Question

Posted (edited)

skill.cpp

	case SM_ENDURE:
		{
			int splash = skill_get_splash(skill_id, skill_lv);
			clif_skill_nodamage(src,bl,skill_id,skill_lv,
				sc_start(src,bl,type,100,skill_lv,skill_get_time(skill_id,skill_lv)));
			skill_reveal_trap_inarea(src, splash, src->x, src->y);
			map_foreachinallrange( status_change_timer_sub, src,
				splash, BL_CHAR, src, NULL, type, tick);
		}

-edit
No errors but it didn't detects hidden characters

the idea is coming from archer Improve Concentration
Can someone please help me?

Edited by jamesandrew

1 answer to this question

Recommended Posts

  • 0
Posted

find all SC_CONCENTRATE on status.cpp
 

	case SC_SIGHT: // Reveal hidden ennemy on 3*3 range
	case SC_CONCENTRATE:
		status_change_end(bl, SC_HIDING, INVALID_TIMER);
		status_change_end(bl, SC_CLOAKING, INVALID_TIMER);
		status_change_end(bl, SC_CLOAKINGEXCEED, INVALID_TIMER);
		status_change_end(bl, SC_CAMOUFLAGE, INVALID_TIMER);
		status_change_end(bl, SC_NEWMOON, INVALID_TIMER);
		status_change_end(bl, SC_STEALTH, INVALID_TIMER);

 

  • Upvote 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...