Jump to content
  • 0

Remove Twilight Pharmacy Party Requirement


Question

1 answer to this question

Recommended Posts

  • 2
Posted

Hello,

Here it is!

From: Kreustoo <kreustoo@gmail.com>
Subject: Remove party requirement for Twilight alchemy

---
 src/map/party.cpp | 10 ++++++----
 src/map/skill.cpp | 16 +++++++++-------
 2 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/src/map/party.cpp b/src/map/party.cpp
index 030adb86c..359bd5770 100644
--- a/src/map/party.cpp
+++ b/src/map/party.cpp
@@ -975,10 +975,12 @@ int party_skill_check(struct map_session_data *sd, int party_id, uint16 skill_id
 		case MO_COMBOFINISH: //Increase Counter rate of Star Gladiators
 			if (!p->state.sg) return 0;
 			break;
-		case AM_TWILIGHT2: //Twilight Pharmacy, requires Super Novice
-			return p->state.snovice;
-		case AM_TWILIGHT3: //Twilight Pharmacy, Requires Taekwon
-			return p->state.tk;
+		//[Custom] Disable AM_TWILIGHT2 and AM_TWILIGHT3 party requirement
+		//case AM_TWILIGHT2: //Twilight Pharmacy, requires Super Novice
+		//	return p->state.snovice;
+		//case AM_TWILIGHT3: //Twilight Pharmacy, Requires Taekwon
+		//	return p->state.tk;
+		//[Custom] end
 		default:
 			return 0; //Unknown case?
 	}
diff --git a/src/map/skill.cpp b/src/map/skill.cpp
index 0a168837c..219675bfe 100644
--- a/src/map/skill.cpp
+++ b/src/map/skill.cpp
@@ -15680,13 +15680,15 @@ bool skill_check_condition_castbegin(struct map_session_data* sd, uint16 skill_i
 				}
 			}
 			break;
-		case AM_TWILIGHT2:
-		case AM_TWILIGHT3:
-			if (!party_skill_check(sd, sd->status.party_id, skill_id, skill_lv)) {
-				clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
-				return false;
-			}
-			break;
+		//[Custom] Disable AM_TWILIGHT2 and AM_TWILIGHT3 party requirement
+		//case AM_TWILIGHT2:
+		//case AM_TWILIGHT3:
+		//	if (!party_skill_check(sd, sd->status.party_id, skill_id, skill_lv)) {
+		//		clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
+		//		return false;
+		//	}
+		//	break;
+		//[Custom] end
 		case SG_SUN_WARM:
 		case SG_MOON_WARM:
 		case SG_STAR_WARM:
-- 
2.25.0.windows.1

 

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