diff options
author | Kisuka <kisuka@kisuka.com> | 2013-10-28 00:42:23 -0700 |
---|---|---|
committer | Kisuka <kisuka@kisuka.com> | 2013-10-28 00:42:23 -0700 |
commit | 124ab2a1cdb344f24170a4d91f7000ebabf39b40 (patch) | |
tree | ebc5aeee49da96f88e55358c184d69d90eae9289 /npc/re/jobs/3-2/royal_guard.txt | |
parent | e7efdfe96e1b4c288bca845c03512da6842d6425 (diff) | |
download | hercules-124ab2a1cdb344f24170a4d91f7000ebabf39b40.tar.gz hercules-124ab2a1cdb344f24170a4d91f7000ebabf39b40.tar.bz2 hercules-124ab2a1cdb344f24170a4d91f7000ebabf39b40.tar.xz hercules-124ab2a1cdb344f24170a4d91f7000ebabf39b40.zip |
Added ability to use constants instead of sprite IDs for NPCs. Converted all npcs to use this.
Diffstat (limited to 'npc/re/jobs/3-2/royal_guard.txt')
-rw-r--r-- | npc/re/jobs/3-2/royal_guard.txt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/npc/re/jobs/3-2/royal_guard.txt b/npc/re/jobs/3-2/royal_guard.txt index f98861461..82632ed36 100644 --- a/npc/re/jobs/3-2/royal_guard.txt +++ b/npc/re/jobs/3-2/royal_guard.txt @@ -13,7 +13,7 @@ //= 1.2 Added GM management function. [Euphy] //============================================================ -prt_castle,48,161,3 script Middle-aged Gentleman#rg 57,{ +prt_castle,48,161,3 script Middle-aged Gentleman#rg 1_M_LIBRARYMASTER,{ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) { mes "- Your pack is too heavy. -"; mes "- Lighten your body first -"; @@ -333,7 +333,7 @@ prt_castle,48,161,3 script Middle-aged Gentleman#rg 57,{ } } -glast_01,240,366,5 script Memory of King Schmidtz 844,{ +glast_01,240,366,5 script Memory of King Schmidtz CLEAR_NPC,{ if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) { mes "- Your pack is too heavy. -"; mes "- Lighten your body first -"; @@ -434,7 +434,7 @@ glast_01,240,366,5 script Memory of King Schmidtz 844,{ end; } -gl_church,173,88,0 script Delicate trace#01 844,{ +gl_church,173,88,0 script Delicate trace#01 CLEAR_NPC,{ if (job_royal == 4 && countitem(6274) == 0) { progressbar "ffff00",5; set .@roy_ran, rand(1,70); @@ -464,18 +464,18 @@ OnTimer40000: specialeffect EF_MAPPILLAR; end; } -gl_church,158,103,0 duplicate(Delicate trace#01) Delicate trace#02 844 -gl_church,139,90,0 duplicate(Delicate trace#01) Delicate trace#03 844 -gl_church,126,62,0 duplicate(Delicate trace#01) Delicate trace#04 844 -gl_church,148,5,0 duplicate(Delicate trace#01) Delicate trace#05 844 -gl_church,185,72,0 duplicate(Delicate trace#01) Delicate trace#06 844 -gl_church,185,72,0 duplicate(Delicate trace#01) Delicate trace#07 844 -gl_church,211,94,0 duplicate(Delicate trace#01) Delicate trace#08 844 -gl_church,185,125,0 duplicate(Delicate trace#01) Delicate trace#09 844 -gl_church,143,125,0 duplicate(Delicate trace#01) Delicate trace#10 844 -gl_church,105,115,0 duplicate(Delicate trace#01) Delicate trace#11 844 +gl_church,158,103,0 duplicate(Delicate trace#01) Delicate trace#02 CLEAR_NPC +gl_church,139,90,0 duplicate(Delicate trace#01) Delicate trace#03 CLEAR_NPC +gl_church,126,62,0 duplicate(Delicate trace#01) Delicate trace#04 CLEAR_NPC +gl_church,148,5,0 duplicate(Delicate trace#01) Delicate trace#05 CLEAR_NPC +gl_church,185,72,0 duplicate(Delicate trace#01) Delicate trace#06 CLEAR_NPC +gl_church,185,72,0 duplicate(Delicate trace#01) Delicate trace#07 CLEAR_NPC +gl_church,211,94,0 duplicate(Delicate trace#01) Delicate trace#08 CLEAR_NPC +gl_church,185,125,0 duplicate(Delicate trace#01) Delicate trace#09 CLEAR_NPC +gl_church,143,125,0 duplicate(Delicate trace#01) Delicate trace#10 CLEAR_NPC +gl_church,105,115,0 duplicate(Delicate trace#01) Delicate trace#11 CLEAR_NPC -gl_church,158,100,0 script #Clue of traces 111,4,4,{ +gl_church,158,100,0 script #Clue of traces HIDDEN_NPC,4,4,{ end; OnTouch: if (job_royal == 4 && countitem(6274) == 0) { @@ -496,7 +496,7 @@ OnTouch: end; } -sec_in02,12,43,3 script sorcereryal 57,1,1,{ +sec_in02,12,43,3 script sorcereryal 1_M_LIBRARYMASTER,1,1,{ callfunc "F_GM_NPC"; switch(select("Royal Guard:Rune Knight:Sorcerer")) { case 1: |