diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-25 22:12:43 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-25 22:12:43 +0000 |
commit | f8636b8d7c4d3e1e43ea5e0f7c399316651931c9 (patch) | |
tree | 6b0314448191ef5f99eb5dbd034c30d243fc0341 /npc/other | |
parent | 9448065cbfa1377f4f58c6442a90f895d5514d92 (diff) | |
download | hercules-f8636b8d7c4d3e1e43ea5e0f7c399316651931c9.tar.gz hercules-f8636b8d7c4d3e1e43ea5e0f7c399316651931c9.tar.bz2 hercules-f8636b8d7c4d3e1e43ea5e0f7c399316651931c9.tar.xz hercules-f8636b8d7c4d3e1e43ea5e0f7c399316651931c9.zip |
updated deviruchi - divorcer
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9921 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other')
-rw-r--r-- | npc/other/divorce.txt | 38 |
1 files changed, 21 insertions, 17 deletions
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 +} |