summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-01 12:20:01 -0700
committerJared Adams <jaxad0127@gmail.com>2009-03-01 12:20:01 -0700
commit3226368a1cd36e4d6e47302493fe5e0e91dddef3 (patch)
treef6538b5b413443a9d2aba60ce1ef2c3fdcad7ed9
parent9480d6bb5c30feb915407c23bc9daee91cbc3381 (diff)
downloadserverdata-3226368a1cd36e4d6e47302493fe5e0e91dddef3.tar.gz
serverdata-3226368a1cd36e4d6e47302493fe5e0e91dddef3.tar.bz2
serverdata-3226368a1cd36e4d6e47302493fe5e0e91dddef3.tar.xz
serverdata-3226368a1cd36e4d6e47302493fe5e0e91dddef3.zip
Fix some bugs in the marriage scrcipts
-rw-r--r--conf/magic.conf1
-rw-r--r--npc/014-1_Woodland/wedding-officiator.txt3
2 files changed, 3 insertions, 1 deletions
diff --git a/conf/magic.conf b/conf/magic.conf
index 390df589..e0fb308c 100644
--- a/conf/magic.conf
+++ b/conf/magic.conf
@@ -573,6 +573,7 @@ NONMAGIC SILENT SPELL marriage (target : PC) : "marry" =
L_yes:
if marriage(@caster_name$)
announce @caster_name$ + " and " + strcharinfo(0) + " are now married!", 0;
+ close;
}
IF not (is_married(caster))
diff --git a/npc/014-1_Woodland/wedding-officiator.txt b/npc/014-1_Woodland/wedding-officiator.txt
index 6b7ace7e..20c7297e 100644
--- a/npc/014-1_Woodland/wedding-officiator.txt
+++ b/npc/014-1_Woodland/wedding-officiator.txt
@@ -236,7 +236,8 @@ L_do_divorce:
if (zeny < @divorce_cost)
goto L_divorce_nomoney;
- if (divorce()) goto L_DidDivorce;
+
+ if divorce(0) goto L_DidDivorce;
mes "[Wedding Officiator]";
mes "The officiator searches through her records for your partner.";