Jump to content
  • 0

Absorb Spirit / Dispel cancels Asura (if cast finished first)


CenturyGothic

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   0
  • Joined:  09/26/19
  • Last Seen:  

Hello everyone, this is how currently rAthena works. When you cast asura to anyone, regardless if you got dispelled/absorbed spirit, the asura will still continue and deal damage.

However in the old times, when absorb spirit / dispel finishes first, the asura will miss. (no damage) Does anyone have a diff to this?

Similar to when you cast asura to a player, and the player hides, asura miss (currently works in rAthena). The same thing needs to happen with Absorb Spirit and Dispel

 

Thanks in advance!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  477
  • Reputation:   269
  • Joined:  06/13/17
  • Last Seen:  

		case KO_ZANZOU: {
				int c = 0;

				i = map_foreachinmap(skill_check_condition_mob_master_sub, sd->bl.m, BL_MOB, sd->bl.id, MOBID_ZANZOU, skill_id, &c);
				if( c >= skill_get_maxcount(skill_id,skill_lv) || c != i) {
					clif_skill_fail(sd , skill_id, USESKILL_FAIL_LEVEL, 0);
					return false;
				}
			}
			break;
+		case MO_EXTREMITYFIST:
+				if( !sd->spiritball || !sd->sc.data[SC_EXPLOSIONSPIRITS]){
+					clif_skill_fail(sd , skill_id, USESKILL_FAIL_LEVEL, 0);
+					return false;
+				}
+			break;
	}

in skill.cpp

Edited by Haruka Mayumi
  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   0
  • Joined:  09/26/19
  • Last Seen:  

Thanks @Haruka Mayumi Testing the above. Will get back to this

Edit:

18 hours ago, Haruka Mayumi said:

		case KO_ZANZOU: {
				int c = 0;

				i = map_foreachinmap(skill_check_condition_mob_master_sub, sd->bl.m, BL_MOB, sd->bl.id, MOBID_ZANZOU, skill_id, &c);
				if( c >= skill_get_maxcount(skill_id,skill_lv) || c != i) {
					clif_skill_fail(sd , skill_id, USESKILL_FAIL_LEVEL, 0);
					return false;
				}
			}
			break;
+		case MO_EXTREMITYFIST:
+				if( !sd->spiritball || !sd->sc.data[SC_EXPLOSIONSPIRITS]){
+					clif_skill_fail(sd , skill_id, USESKILL_FAIL_LEVEL, 0);
+					return false;
+				}
+			break;
	}

in skill.cpp

 

The above worked! Thank you ❤️

Edited by Dublin
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...