Igniz Posted November 28, 2018 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 69 Reputation: 15 Joined: 12/06/11 Last Seen: August 7, 2024 Share Posted November 28, 2018 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? Quote Link to comment Share on other sites More sharing options...
0 n0tttt Posted November 29, 2018 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 303 Reputation: 118 Joined: 12/10/16 Last Seen: Friday at 02:39 AM Share Posted November 29, 2018 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; Quote Link to comment Share on other sites More sharing options...
0 Clark Posted November 29, 2018 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 22 Reputation: 5 Joined: 06/19/18 Last Seen: February 27, 2023 Share Posted November 29, 2018 I think he means to hit but with normal hits like Invisibility. Quote Link to comment Share on other sites More sharing options...
0 Igniz Posted November 29, 2018 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 69 Reputation: 15 Joined: 12/06/11 Last Seen: August 7, 2024 Author Share Posted November 29, 2018 Just normal hits like Invisibility as Clark says Thanks for your time Quote Link to comment Share on other sites More sharing options...
0 n0tttt Posted November 29, 2018 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 303 Reputation: 118 Joined: 12/10/16 Last Seen: Friday at 02:39 AM Share Posted November 29, 2018 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. Quote Link to comment Share on other sites More sharing options...
Question
Igniz
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.