From f8636b8d7c4d3e1e43ea5e0f7c399316651931c9 Mon Sep 17 00:00:00 2001 From: Lupus Date: Sun, 25 Feb 2007 22:12:43 +0000 Subject: updated deviruchi - divorcer git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9921 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/Changelog.txt | 1 + npc/other/divorce.txt | 38 +++++++++++++++++++++----------------- 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/npc/Changelog.txt b/npc/Changelog.txt index 7425818fc..812abd032 100644 --- a/npc/Changelog.txt +++ b/npc/Changelog.txt @@ -29,6 +29,7 @@ Date Added 2007/02/27 * Added alternate bonus item to Alchemist Quest, thanks to b3nn0 [Lupus] - Made Dancer Quest bonus item to be give as in other quests + - Updated Deviruchi-divorcer (we can't divorce offline chars..) + added proper effects 2007/02/22 * Added official Hugel Cool Event Corp. Staff, thanks to Gepard [Lupus] 2007/02/21 diff --git a/npc/other/divorce.txt b/npc/other/divorce.txt index cb6c719eb..fcf1e54c0 100644 --- a/npc/other/divorce.txt +++ b/npc/other/divorce.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= Perkka, Scriptor, LightFighter //===== Current Version: ===================================== -//= 1.0a +//= 1.1 //===== Compatible With: ===================================== //= eAthena 1 + //===== Description: ========================================= @@ -11,19 +11,19 @@ //===== Additional Comments: ================================= //= Both players should be online to get divorced //= Fixed menu [Lupus] +//= 1.1 Added check if the patner's online, added effects [Lupus] //============================================================ nif_in.gat,190,112,5 script Deviruchi#divorce 1109,{ + mes "[Deviruchi]"; if (getpartnerid() == 0) { - mes "[Deviruchi]"; mes "Kekeke, humans are always alone in the end,"; mes "The feeling of lonely is just temporarily."; mes "If you feel lonely, how about getting a pet?"; mes "I, the Deviruchi is quite popular recently, you know..."; close; } - mes "[Deviruchi]"; mes "You don't look good..."; mes "Anything that you have done that makes you feel regret now?"; mes "You must know that I am not willing to help happy people."; @@ -85,28 +85,32 @@ M_NewLife: close; M_Divorce: - if (Zeny < 2500000) goto NoMoney; - set Zeny, Zeny - 2500000; mes "[Deviruchi]"; + if (!isloggedin(getpartnerid())) { + mes "Kekeke, humans are so stupid,"; + mes "Your lover should be online... Kekeke"; + emotion e_heh; + close; + } + if (Zeny < 2500000){ + mes "Haven't I said 2,500,000 zeny?"; + mes "This is the payment for Deviruchi to help you."; + mes "If you don't even have that money,"; + mes "you can rot with that married life of yours... kekeke"; + close; + } + set Zeny, Zeny - 2500000; mes "Before you change your mind again, I will proceed with your divorce now!!"; mes "It might take some time..."; mes "So don't go away, and stay here!"; next; - //ShowEffect "Deviruchi#Divorce" EF_MAGICROD Don't know, what to do here >.> - //ShowEffect "" EF_DEVIL same - percentheal -100,-100; + specialeffect 244; //EF_MAGICROD + specialeffect2 259; //EF_DEVIL (now use a custom id) divorce; + percentheal -100,-100; mes "[Deviruchi]"; mes "Kekeke, you are free now!"; mes "Throw away all your sinking feelings!"; mes "You should thank Deviruchi.....!"; close; - -NoMoney: - mes "[Deviruchi]"; - mes "Haven't I said 2,500,000 zeny?"; - mes "This is the payment for Deviruchi to help you."; - mes "If you don't even have that money,"; - mes "you can rot with that married life of yours... kekeke"; - close; -} \ No newline at end of file +} -- cgit v1.2.3-60-g2f50