diff options
author | EyesOfAHawk <blackoutro2006@gmail.com> | 2018-10-18 03:23:18 +1300 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2018-11-13 17:13:38 +0100 |
commit | 7b45d05bd8e3f476f1d801203f2968993b52a31f (patch) | |
tree | b1f73f007939678c46cea7123b75ff74a3017653 /npc/re/instances | |
parent | baeb7a1742b0fd7ac5d3a4cecd90f74d461895fe (diff) | |
download | hercules-7b45d05bd8e3f476f1d801203f2968993b52a31f.tar.gz hercules-7b45d05bd8e3f476f1d801203f2968993b52a31f.tar.bz2 hercules-7b45d05bd8e3f476f1d801203f2968993b52a31f.tar.xz hercules-7b45d05bd8e3f476f1d801203f2968993b52a31f.zip |
Remove type argument from buildin_getnpcid.
Diffstat (limited to 'npc/re/instances')
-rw-r--r-- | npc/re/instances/BangungotHospital.txt | 10 | ||||
-rw-r--r-- | npc/re/instances/WolfchevLaboratory.txt | 54 |
2 files changed, 32 insertions, 32 deletions
diff --git a/npc/re/instances/BangungotHospital.txt b/npc/re/instances/BangungotHospital.txt index 6972322e1..4af583879 100644 --- a/npc/re/instances/BangungotHospital.txt +++ b/npc/re/instances/BangungotHospital.txt @@ -404,7 +404,7 @@ OnInstanceInit: disablenpc instance_npcname("#Memorial Start_time"); end; OnEnable: - specialeffect(EF_BAT2, AREA, getnpcid(0, instance_npcname("#Memorial Start"))); + specialeffect(EF_BAT2, AREA, getnpcid(instance_npcname("#Memorial Start"))); initnpctimer; end; OnDisable: @@ -890,19 +890,19 @@ OnStopTimer: end; OnTimer1000: mapannounce instance_mapname("1@ma_h"),"- Bangungot's Pillar of Spirit is curing Bangungot. If you don't hunt it now, he will fully recover!! -",bc_map,"0xFF8200"; - specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, instance_npcname("#Patternwarp45"))); + specialeffect(EF_MAPPILLAR2, AREA, getnpcid(instance_npcname("#Patternwarp45"))); end; OnTimer7000: mapannounce instance_mapname("1@ma_h"),"Bangungot: I never die!!!!",bc_map,"0xFF82FF"; - specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, instance_npcname("#Patternwarp45"))); + specialeffect(EF_MAPPILLAR2, AREA, getnpcid(instance_npcname("#Patternwarp45"))); end; OnTimer14000: mapannounce instance_mapname("1@ma_h"),"Bangungot: If you dare, kill me!! I will revive soon!!!",bc_map,"0xFF82FF"; - specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, instance_npcname("#Patternwarp45"))); + specialeffect(EF_MAPPILLAR2, AREA, getnpcid(instance_npcname("#Patternwarp45"))); end; OnTimer21000: mapannounce instance_mapname("1@ma_h"),"Bangungot: I cannot die this way...!!!!",bc_map,"0xFF82FF"; - specialeffect(EF_MAPPILLAR2, AREA, getnpcid(0, instance_npcname("#Patternwarp45"))); + specialeffect(EF_MAPPILLAR2, AREA, getnpcid(instance_npcname("#Patternwarp45"))); end; OnTimer30000: donpcevent instance_npcname("#Summon Pillar")+"::OnReset"; diff --git a/npc/re/instances/WolfchevLaboratory.txt b/npc/re/instances/WolfchevLaboratory.txt index efb32be7e..3bbb74ad1 100644 --- a/npc/re/instances/WolfchevLaboratory.txt +++ b/npc/re/instances/WolfchevLaboratory.txt @@ -1108,7 +1108,7 @@ lhz_cube,233,24,4 script Sorcerer#Bio4Reward 4_M_UMDANCEKID,{ if (.@menu==2){ .@equip_card[3] = 0; } else { .@equip_card[2] = 0; } .@equip_item = getequipid(.@position); - specialeffect(EF_BEGINSPELL2, AREA, getnpcid(0, "Sorcerer#Bio4Reward")); + specialeffect(EF_BEGINSPELL2, AREA, getnpcid("Sorcerer#Bio4Reward")); progressbar "ffff00", 2; specialeffect(EF_FROSTWEAPON, AREA, playerattached()); delitem Goast_Chill, 10; @@ -1303,7 +1303,7 @@ lhz_cube,233,24,4 script Sorcerer#Bio4Reward 4_M_UMDANCEKID,{ setarray .@equip_card[0], getequipcardid(.@position,0),getequipcardid(.@position,1),getequipcardid(.@position,2),getequipcardid(.@position,3); .@equip_card[(.@socket_type-1)] = .@enchant; .@equip_item = getequipid(.@position); - specialeffect(EF_BEGINSPELL3, AREA, getnpcid(0, "Sorcerer#Bio4Reward")); + specialeffect(EF_BEGINSPELL3, AREA, getnpcid("Sorcerer#Bio4Reward")); progressbar "ffff00", 2; if (.@socket_type == 3) delitem Blood_Thirst, 10; @@ -1608,42 +1608,42 @@ que_lhz,1,1,0 script #Eventctrl FAKE_NPC,{ end; OnTimer1000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "#01")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("#01")); specialeffect EF_BEGINASURA, "Human Guinea pig#01"; end; OnTimer2000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "#02")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("#02")); specialeffect EF_BEGINASURA, "Human Guinea pig#02"; end; OnTimer3000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "#03")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("#03")); specialeffect EF_BEGINASURA, "Human Guinea pig#03"; end; OnTimer4000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "#04")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("#04")); specialeffect EF_BEGINASURA, "Human Guinea pig#04"; end; OnTimer5000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "#05")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("#05")); specialeffect EF_BEGINASURA, "Human Guinea pig#05"; end; OnTimer6000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "#06")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("#06")); specialeffect EF_BEGINASURA, "Human Guinea pig#06"; end; OnTimer7000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "#07")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("#07")); specialeffect EF_BEGINASURA, "Human Guinea pig#07"; end; OnTimer8000: - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, "#08")); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid("#08")); specialeffect EF_BEGINASURA, "Human Guinea pig#08"; stopnpctimer; end; @@ -2441,7 +2441,7 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{ OnTimer63000: for(.@i = 1; .@i < 7; .@i++) { - specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid(0, instance_npcname("Valve#2_"+.@i+""))); + specialeffect(EF_SUI_EXPLOSION, AREA, getnpcid( instance_npcname("Valve#2_"+.@i+""))); disablenpc instance_npcname("Valve#2_"+.@i+""); } 'broken_pipes += 1; @@ -2845,73 +2845,73 @@ lhz_dun04,147,279,0 script Laboratory Entrance#memo CLEAR_NPC,{ OnTimer1000: mapannounce instance_mapname("1@lhz"),"Whisper: Who are you....",bc_map,"0x7DCBF0"; - specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Seyren Windsor#boss01"))); + specialeffect(EF_SPHERE, AREA, getnpcid(instance_npcname("Seyren Windsor#boss01"))); end; OnTimer2000: - specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Cecile Damon#boss02"))); + specialeffect(EF_SPHERE, AREA, getnpcid(instance_npcname("Cecile Damon#boss02"))); end; OnTimer3000: mapannounce instance_mapname("1@lhz"),"Whisper: Do not approach more...",bc_map,"0x7DCBF0"; - specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Gertie Wie#boss03"))); + specialeffect(EF_SPHERE, AREA, getnpcid(instance_npcname("Gertie Wie#boss03"))); end; OnTimer4000: - specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Eremes Guile#boss04"))); + specialeffect(EF_SPHERE, AREA, getnpcid(instance_npcname("Eremes Guile#boss04"))); end; OnTimer5000: mapannounce instance_mapname("1@lhz"),"Whisper: This is a very dangerous place..",bc_map,"0x7DCBF0"; - specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Trentini#boss05"))); + specialeffect(EF_SPHERE, AREA, getnpcid(instance_npcname("Trentini#boss05"))); end; OnTimer6000: - specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Chen Liu#boss06"))); + specialeffect(EF_SPHERE, AREA, getnpcid(instance_npcname("Chen Liu#boss06"))); end; OnTimer7000: mapannounce instance_mapname("1@lhz"),"Whisper: You won't go out alive....",bc_map,"0x7DCBF0"; - specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Alphochio Basil#boss07"))); + specialeffect(EF_SPHERE, AREA, getnpcid(instance_npcname("Alphochio Basil#boss07"))); end; OnTimer8000: - specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Flamel Emul#boss08"))); + specialeffect(EF_SPHERE, AREA, getnpcid(instance_npcname("Flamel Emul#boss08"))); end; OnTimer9000: mapannounce instance_mapname("1@lhz"),"Whisper: If you don't want to be a part of us....",bc_map,"0x7DCBF0"; - specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Randel Lawrence#boss09"))); + specialeffect(EF_SPHERE, AREA, getnpcid(instance_npcname("Randel Lawrence#boss09"))); end; OnTimer10000: - specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Celia Alde#boss10"))); + specialeffect(EF_SPHERE, AREA, getnpcid(instance_npcname("Celia Alde#boss10"))); end; OnTimer11000: mapannounce instance_mapname("1@lhz"),"Whisper: Leave now....",bc_map,"0x7DCBF0"; - specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Kathryne Keyron#boss11"))); + specialeffect(EF_SPHERE, AREA, getnpcid(instance_npcname("Kathryne Keyron#boss11"))); end; OnTimer12000: - specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Margaretha Sorin#boss12"))); + specialeffect(EF_SPHERE, AREA, getnpcid(instance_npcname("Margaretha Sorin#boss12"))); end; OnTimer13000: mapannounce instance_mapname("1@lhz"),"Whisper: Before this place is thoroughly filled with sorrow and pain....",bc_map,"0x7DCBF0"; - specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Howard Alt-Eisen#boss13"))); + specialeffect(EF_SPHERE, AREA, getnpcid(instance_npcname("Howard Alt-Eisen#boss13"))); end; OnTimer14000: - specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Type_**Gren#boss14"))); + specialeffect(EF_SPHERE, AREA, getnpcid(instance_npcname("Type_**Gren#boss14"))); end; OnTimer15000: - specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Type_**Roke#boss15"))); + specialeffect(EF_SPHERE, AREA, getnpcid(instance_npcname("Type_**Roke#boss15"))); end; OnTimer16000: - specialeffect(EF_SPHERE, AREA, getnpcid(0, instance_npcname("Type_**Dree#boss16"))); + specialeffect(EF_SPHERE, AREA, getnpcid(instance_npcname("Type_**Dree#boss16"))); end; OnTimer17000: |