Updated Divorce script.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12380 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
L0ne_W0lf 2008-03-16 20:43:14 +00:00
parent e87cef990d
commit 555eedb0fb
2 changed files with 30 additions and 31 deletions

View File

@ -1,5 +1,7 @@
Date Added Date Added
====== ======
2008/03/16
* Rev. 12380 Updated Divorce script. [L0ne_W0lf]
2008/03/15 2008/03/15
* Fixed Job_Change Function to properly jobchange babies. (bugreport: 943) [Paradox924X] * 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] * Updated Airship Typing Challenge to not fail you when you get both strings correct. (bugreport: 1008) [Paradox924X]

View File

@ -4,7 +4,7 @@
//= Perkka, Scriptor, LightFighter //= Perkka, Scriptor, LightFighter
//= L0ne_W0lf //= L0ne_W0lf
//===== Current Version: ===================================== //===== Current Version: =====================================
//= 1.3 //= 1.4
//===== Compatible With: ===================================== //===== Compatible With: =====================================
//= eAthena SVN //= eAthena SVN
//===== Description: ========================================= //===== Description: =========================================
@ -20,6 +20,7 @@
//= 1.2a Commented out check of 'wedding_sign' to let //= 1.2a Commented out check of 'wedding_sign' to let
//= old married players divorcing, optimized, fixed a bug [Lupus] //= old married players divorcing, optimized, fixed a bug [Lupus]
//= 1.3 Wedding variable 'wedding_sign' is now unset on divorce. [L0ne_W0lf] //= 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,{ nif_in,190,112,5 script Deviruchi#divorce 738,{
@ -183,37 +184,33 @@ nif_in,190,112,5 script Deviruchi#divorce 738,{
close; close;
} }
mes "[Deviruchi]"; mes "[Deviruchi]";
if (ispartneron()) { if (Zeny > 2499999) {
if (Zeny > 2499999) { mes "Excellent choice~";
mes "Excellent choice~"; mes "Let's get started right";
mes "Let's get started right"; mes "away! This may take some";
mes "away! This may take some"; mes "time, but it's better than";
mes "time, but it's better than"; mes "being hopelessly married";
mes "being hopelessly married"; mes "^FF0000for the rest of your life.^000000";
mes "^FF0000for the rest of your life.^000000"; next;
next; specialeffect 244; //EF_MAGICROD
specialeffect 244; //EF_MAGICROD specialeffect2 372; //EF_DEVIL
specialeffect2 372; //EF_DEVIL set wedding_sign,0;
set wedding_sign,0; set zeny,zeny-2500000;
set zeny,zeny-2500000; percentheal -100,-100;
percentheal -100,100; divorce;
divorce; mes "[Deviruchi]";
mes "[Deviruchi]"; mes "Bwahhahahaha~!";
mes "Bwahhahahaha~!"; mes "Now you're free~!";
mes "Now you're free~!"; mes "Don't you feel so much";
mes "Don't you feel so much"; mes "better now as a single?";
mes "better now as a single?"; mes "Ah, bachelorhood...";
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?";
close; 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; close;
} }