Jump to content
  • 0

Allow basic attacks while Hide or ChaseWalk


Igniz

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  69
  • Reputation:   15
  • Joined:  12/06/11
  • Last Seen:  

Hello. The skill Invisibility allow to attack while cloaking. I'm trying to enable Hiding or ChaseWalk status to do the same thing but I had no success finding a clue on the source code, any hint? 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

Do you mean Hiding and Chase Walk or Hiding or Chase Walk? I imagine Chase Walk being the main one since it's more advanced.
Anyways, if you want to use skills with Chase Walk, delete this in status.cpp:

			if (sc->option&OPTION_CHASEWALK && skill_id != ST_CHASEWALK)
				return false;

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  22
  • Reputation:   5
  • Joined:  06/19/18
  • Last Seen:  

I think he means to hit but with normal hits like Invisibility.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  69
  • Reputation:   15
  • Joined:  12/06/11
  • Last Seen:  

Just normal hits like Invisibility as Clark says

 

Thanks for your time

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

I'm pretty sure that function is also attack related, since it shows this:

	if (!skill_id) { // Normal attack checks.
		// This mode is only needed for melee attacking.
		if (!status_has_mode(status,MD_CANATTACK))
			return false;
		// Dead state is not checked for skills as some skills can be used
		// on dead characters, said checks are left to skill.c [Skotlex]
		if (target && status_isdead(target))
			return false;
	}

Prove it and tell how it goes.

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