Parcourir la source

Fixed Mobster's OnDead event in npc/quests/quests_lighthalzen.txt.
Please take care that OnDead events start with "On"!

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6096 54d463be-8e91-2dee-dedb-b68131a5f0ec

Playtester il y a 19 ans
Parent
commit
effc244c87
2 fichiers modifiés avec 5 ajouts et 3 suppressions
  1. 1 0
      npc/Changelog.txt
  2. 4 3
      npc/quests/quests_lighthalzen.txt

+ 1 - 0
npc/Changelog.txt

@@ -28,6 +28,7 @@ Nexon
 Date		Added
 ======
 04/15
+	* Fixed Mobster's OnDead event [Playtester]
 	* Implemented Musashiden's Lighthalzen npcs - Part 2 [Shadow]
 	* Renamed Mastersmith Howard to Whitesmith Howard in the spawn files [Playtester]
 	* Implemented Musashiden's Lighthalzen npcs [MasterOfMuppets]

+ 4 - 3
npc/quests/quests_lighthalzen.txt

@@ -25,6 +25,7 @@
 //= 1.4 Fixed password abuse. When people don't read the password under the picture
 //= 	and enter Zero shit 8) (TODO: I saw some "Sticks" abuses, too.. where you couls skip
 //=	a part of quest...)
+//= 1.5 Fixed Mobster's OnDead event(it has to start with "On"!) [Playtester]
 //============================================================ 
 //= aoa's comment
 //= In future, Need for new monsters. No-Drop, No-Exp, Weak "Mobster","VENOMOUS","NOXIOUS"
@@ -77,7 +78,7 @@ MakeMob:
 	mapannounce "lighthalzen.gat","Maintenance Organization of the Public Order: Currently the security of the city has been compromized, We ask the citizens to be more careful. I repeat. We ask the citizens to be more careful.", 1;
 	
 	for( set $@i, 0; $@i < $@mob; set $@i, $@i + 1 ) {
-		monster "lighthalzen.gat",0,0,"Mobster",1592,1,"AlertChk::MobKilled";
+		monster "lighthalzen.gat",0,0,"Mobster",1592,1,"AlertChk::OnMobKilled";
 	}
 
 	set $@lhz_alert, 1;	
@@ -89,13 +90,13 @@ ClearMob:
 	if($@lhz_alert == 0) goto ChkEnd;
 	set $@mobcount, 0;
 	mapannounce "lighthalzen.gat","Maintenance organization of the Public Order: We were able to get rid of all the trouble makers in the city. You may relax now.", 1;	
-	killmonster "lighthalzen.gat","AlertChk::MobKilled";
+	killmonster "lighthalzen.gat","AlertChk::OnMobKilled";
 	set $@lhz_alert, 0;
 	set $@sneakguard, 0;
 	setnpctimer 0;
 	end;
 		
-MobKilled:
+OnMobKilled:
 	set $@mobcount, $@mobcount - 1;
 	if($@mobcount == 0) goto ClearMob;
 	setnpctimer 0;