From e38e61abcc82422874ba40da5a2000c1625763be Mon Sep 17 00:00:00 2001 From: L0ne_W0lf Date: Sun, 21 Sep 2008 09:56:06 +0000 Subject: Corrected Sealstatus checking global vars instead of character. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13224 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/Changelog.txt | 4 +++- npc/other/sealstatus.txt | 11 ++++++----- npc/scripts_athena.conf | 2 ++ 3 files changed, 11 insertions(+), 6 deletions(-) (limited to 'npc') diff --git a/npc/Changelog.txt b/npc/Changelog.txt index 5d286df61..cca54e4c5 100644 --- a/npc/Changelog.txt +++ b/npc/Changelog.txt @@ -1,7 +1,9 @@ Date Added ====== +2008/09/21 + * Rev. 13224 Corrected Sealstatus checking global vars instead of character. (bugreport:2250) [L0ne_W0lf] 2008/09/20 - * Rev. 131222 Fixed DZeroX's fix! (Missing ;'s) [L0ne_W0lf] + * Rev. 13222 Fixed DZeroX's fix! (Missing ;'s) [L0ne_W0lf] * Added Guild PVP NPC, and seal progress NPC. 2008/09/18 * Rev. 13219 Slew of bugreport fixage. Figured I should do something. [L0ne_W0lf] diff --git a/npc/other/sealstatus.txt b/npc/other/sealstatus.txt index c2fe7bd8c..cd269cae7 100644 --- a/npc/other/sealstatus.txt +++ b/npc/other/sealstatus.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= L0ne_W0lf //===== Current Version: ===================================== -//= 1.0 +//= 1.1 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -11,6 +11,7 @@ //= Goid Item Seal Status. //===== Additional Comments: ================================= //= 1.0 First version. [L0ne_W0lf] +//= 1.1 Now checks proper char vars. [L0ne_W0lf] //============================================================ prontera,113,294,3 script Sign Post 837,{ @@ -65,25 +66,25 @@ prontera,113,294,3 script Sign Post 837,{ } mes ""; mes "======= Your Seal Status ========"; - if ($god_sl_1 < 51) { + if (god_sl_1 < 51) { mes "^ff0000Sleipnir Seal: Not Completed^000000"; } else { mes "^00ff00Sleipnir Seal: Completed^000000"; } - if ($god_eremes < 28) { + if (god_eremes < 28) { mes "^ff0000Megingjard Seal: Not Completed^000000"; } else { mes "^00ff00Megingjard Seal: Completed^000000"; } - if ($god_brising < 50) { + if (god_brising < 50) { mes "^ff0000Brisingamen Seal: Not Completed^000000"; } else { mes "^00ff00Brisingamen Seal: Completed^000000"; } - if ($god_mjo_0 < 11) { + if (god_mjo_0 < 11) { mes "^ff0000Mjolnir Seal: Not Completed^000000"; } else { diff --git a/npc/scripts_athena.conf b/npc/scripts_athena.conf index c712faba4..a75083d5d 100644 --- a/npc/scripts_athena.conf +++ b/npc/scripts_athena.conf @@ -225,6 +225,8 @@ npc: npc/other/monster_museum.txt npc: npc/other/powernpc.txt npc: npc/other/pvp.txt npc: npc/other/resetskill.txt +npc: npc/other/guildpvp.txt +npc: npc/other/sealstatus.txt // Turbo Track Files -------------------------------------------- npc: npc/other/turbotrack/Turbo_Track.txt // Normal Courses (Non-PVP) -- cgit v1.2.3-60-g2f50