summaryrefslogtreecommitdiff
path: root/npc/custom/quests/hunting_missions.txt
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-28 08:38:28 +0000
committereuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-28 08:38:28 +0000
commite9d2315e89adb7610a67d610bb99fd78fd403c37 (patch)
tree55b9666e1a9c5e8739b36f9cdd3ace5576298e0d /npc/custom/quests/hunting_missions.txt
parent382f0b77bf009b938e578286b1048ccf8038d443 (diff)
downloadhercules-e9d2315e89adb7610a67d610bb99fd78fd403c37.tar.gz
hercules-e9d2315e89adb7610a67d610bb99fd78fd403c37.tar.bz2
hercules-e9d2315e89adb7610a67d610bb99fd78fd403c37.tar.xz
hercules-e9d2315e89adb7610a67d610bb99fd78fd403c37.zip
* Added a small portion of official Malangdo Episode scripts.
* Updated quest_db with translated Malangdo entries. * Fixed strmobinfo() to output empty strings for 'name' instead of zeros (partly follow-up r17055). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17056 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/quests/hunting_missions.txt')
-rw-r--r--npc/custom/quests/hunting_missions.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/custom/quests/hunting_missions.txt b/npc/custom/quests/hunting_missions.txt
index 5f09c19fd..438444a14 100644
--- a/npc/custom/quests/hunting_missions.txt
+++ b/npc/custom/quests/hunting_missions.txt
@@ -225,7 +225,7 @@ OnNPCKillEvent:
if (!getcharid(1) || !.Party) {
if (!#Mission_Count || !Mission0) end;
for (set .@i, 0; .@i<.Quests; set .@i,.@i+1) {
- if (""+strmobinfo(1,killedrid) == strmobinfo(1,getd("Mission"+.@i))) {
+ if (strmobinfo(1,killedrid) == strmobinfo(1,getd("Mission"+.@i))) {
if (getd("Mission"+.@i+"_") < #Mission_Count) {
dispbottom "[Hunting Mission] Killed "+(set(getd("Mission"+.@i+"_"),getd("Mission"+.@i+"_")+1))+" of "+#Mission_Count+" "+strmobinfo(1,killedrid)+".";
end;
@@ -244,7 +244,7 @@ OnNPCKillEvent:
getmapxy(.@map2$,.@x2,.@y2,0);
if ((.@map1$ == .@map2$ || .Party == 1) && (distance(.@x1,.@y1,.@x2,.@y2) <= 30 || .Party < 3)) {
for(set .@j,0; .@j<.Quests; set .@j,.@j+1) {
- if (""+strmobinfo(1,.@mob) == strmobinfo(1,getd("Mission"+.@j))) {
+ if (strmobinfo(1,.@mob) == strmobinfo(1,getd("Mission"+.@j))) {
if (getd("Mission"+.@j+"_") < #Mission_Count) {
dispbottom "[Hunting Mission] Killed "+(set(getd("Mission"+.@j+"_"),getd("Mission"+.@j+"_")+1))+" of "+#Mission_Count+" "+strmobinfo(1,.@mob)+".";
break;