Explorar o código

Updated WoE Check in Shift Assassin Script. (bugreport: 1059)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12359 54d463be-8e91-2dee-dedb-b68131a5f0ec
Paradox924X %!s(int64=17) %!d(string=hai) anos
pai
achega
f22bd95313
Modificáronse 2 ficheiros con 4 adicións e 2 borrados
  1. 1 0
      npc/Changelog.txt
  2. 3 2
      npc/custom/shifty_assassin.txt

+ 1 - 0
npc/Changelog.txt

@@ -1,6 +1,7 @@
 Date		Added
 ======
 2008/03/13
+	* Updated WoE Check in Shift Assassin Script. (bugreport: 1059) [Paradox924X]
 	* Updated Drunkard#Payon to use a better Class check that won't freeze Novices. [Paradox924X]
 2008/03/12
 	* Rev. 12346 Another Small update to castle ownership announcement. [L0ne_W0lf]

+ 3 - 2
npc/custom/shifty_assassin.txt

@@ -3,13 +3,14 @@
 //===== By: ==================================================
 //= acky - god@acky.com
 //===== Current Version: =====================================
-//= 1.1.1
+//= 1.1.2
 //===== Compatible With: =====================================
 //= eAthena SVN
 //===== Description: =========================================
 //= Players buy ninjas to assassinate other players
 //===== Additional Comments: =================================
 //= 1.1.1 Changed all gmcommand to atcommand as Poki#3 suggested. [Vicious]
+//= 1.1.2 Updated WoE Check. [Paradox924X]
 //============================================================
 
 morocc,148,86,5	script	Shifty Assassin	725,{
@@ -66,7 +67,7 @@ close;
 
 // ASSASSINATE SOMEBODY //
 M_Kill:
-if ($AgitStarted != 0) goto M_Busy;
+if (agitcheck()) goto M_Busy;
 mes "[Shifty Assassin]";
 mes "Enter the name of the target.";
 mes "^FF0000Type the name exactly, otherwise I won't be able to find the victim.^000000";