summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-16 20:43:14 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-16 20:43:14 +0000
commitbab5272fb72e8f31fc9deb0d678c61372b6fee39 (patch)
tree1393a250faa3aaf088bb7bb8534c46a7d4a38093 /npc
parentbdd45e85b62b80d552190b95e74dafd0e6a19a77 (diff)
downloadhercules-bab5272fb72e8f31fc9deb0d678c61372b6fee39.tar.gz
hercules-bab5272fb72e8f31fc9deb0d678c61372b6fee39.tar.bz2
hercules-bab5272fb72e8f31fc9deb0d678c61372b6fee39.tar.xz
hercules-bab5272fb72e8f31fc9deb0d678c61372b6fee39.zip
Updated Divorce script.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12380 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/Changelog.txt2
-rw-r--r--npc/other/divorce.txt59
2 files changed, 30 insertions, 31 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt
index cdb5b4df9..c57f0af9b 100644
--- a/npc/Changelog.txt
+++ b/npc/Changelog.txt
@@ -1,5 +1,7 @@
Date Added
======
+2008/03/16
+ * Rev. 12380 Updated Divorce script. [L0ne_W0lf]
2008/03/15
* Fixed Job_Change Function to properly jobchange babies. (bugreport: 943) [Paradox924X]
* Updated Airship Typing Challenge to not fail you when you get both strings correct. (bugreport: 1008) [Paradox924X]
diff --git a/npc/other/divorce.txt b/npc/other/divorce.txt
index fc6a2aea5..803428a75 100644
--- a/npc/other/divorce.txt
+++ b/npc/other/divorce.txt
@@ -4,7 +4,7 @@
//= Perkka, Scriptor, LightFighter
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.3
+//= 1.4
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -20,6 +20,7 @@
//= 1.2a Commented out check of 'wedding_sign' to let
//= old married players divorcing, optimized, fixed a bug [Lupus]
//= 1.3 Wedding variable 'wedding_sign' is now unset on divorce. [L0ne_W0lf]
+//= 1.4 Removed ifpartneron check, fixed typo in percentheal. [L0ne_W0lf]
//============================================================
nif_in,190,112,5 script Deviruchi#divorce 738,{
@@ -183,37 +184,33 @@ nif_in,190,112,5 script Deviruchi#divorce 738,{
close;
}
mes "[Deviruchi]";
- if (ispartneron()) {
- if (Zeny > 2499999) {
- mes "Excellent choice~";
- mes "Let's get started right";
- mes "away! This may take some";
- mes "time, but it's better than";
- mes "being hopelessly married";
- mes "^FF0000for the rest of your life.^000000";
- next;
- specialeffect 244; //EF_MAGICROD
- specialeffect2 372; //EF_DEVIL
- set wedding_sign,0;
- set zeny,zeny-2500000;
- percentheal -100,100;
- divorce;
- mes "[Deviruchi]";
- mes "Bwahhahahaha~!";
- mes "Now you're free~!";
- mes "Don't you feel so much";
- mes "better now as a single?";
- mes "Ah, bachelorhood...";
- close;
- }
- mes "Hmmm...I did tell you to bring";
- mes "2,500,000 zeny, right?";
- mes "No one else in this world can";
- mes "offer this kind of freedom...";
- mes "You can't put a price on";
- mes "peace of mind, can you?";
+ if (Zeny > 2499999) {
+ mes "Excellent choice~";
+ mes "Let's get started right";
+ mes "away! This may take some";
+ mes "time, but it's better than";
+ mes "being hopelessly married";
+ mes "^FF0000for the rest of your life.^000000";
+ next;
+ specialeffect 244; //EF_MAGICROD
+ specialeffect2 372; //EF_DEVIL
+ set wedding_sign,0;
+ set zeny,zeny-2500000;
+ percentheal -100,-100;
+ divorce;
+ mes "[Deviruchi]";
+ mes "Bwahhahahaha~!";
+ mes "Now you're free~!";
+ mes "Don't you feel so much";
+ mes "better now as a single?";
+ mes "Ah, bachelorhood...";
close;
}
- mes "Hmmm...your spouse isn't online...";
+ mes "Hmmm...I did tell you to bring";
+ mes "2,500,000 zeny, right?";
+ mes "No one else in this world can";
+ mes "offer this kind of freedom...";
+ mes "You can't put a price on";
+ mes "peace of mind, can you?";
close;
}