summaryrefslogtreecommitdiff
path: root/npc/quests/newgears
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-06-22 22:09:11 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-06-22 22:09:11 +0000
commitd24c00ac556a924dd79f674db88a8cb812d74640 (patch)
treeb66266fbe98064a2a41b83e6d0dd82337d13640d /npc/quests/newgears
parent179da2f41411d5af47c0319ddda5b484eb07ff51 (diff)
downloadhercules-d24c00ac556a924dd79f674db88a8cb812d74640.tar.gz
hercules-d24c00ac556a924dd79f674db88a8cb812d74640.tar.bz2
hercules-d24c00ac556a924dd79f674db88a8cb812d74640.tar.xz
hercules-d24c00ac556a924dd79f674db88a8cb812d74640.zip
* Added support for NPC names in the 'specialeffect' script command, go go copy/paste!
* Updated several NPCs to use the updated specialeffect command, updated more NPCs to use the updated emotion command. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14353 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/quests/newgears')
-rw-r--r--npc/quests/newgears/2004_headgears.txt36
1 files changed, 10 insertions, 26 deletions
diff --git a/npc/quests/newgears/2004_headgears.txt b/npc/quests/newgears/2004_headgears.txt
index 3b3489b4c..f7275c771 100644
--- a/npc/quests/newgears/2004_headgears.txt
+++ b/npc/quests/newgears/2004_headgears.txt
@@ -1918,15 +1918,15 @@ alde_alche,88,180,0 script Muscle Man#Alarm Mask 748,{
mes "It's sexy time!";
next;
specialeffect EF_FLASHER;
- setnpcdisplay "Muscle Man#Alarm Mask Man", 1193;
+ setnpcdisplay "Muscle Man#Alarm Mask", 1193;
enablenpc " #Alarm Mask Man1";
enablenpc " #Alarm Mask Man2";
enablenpc " #Alarm Mask Man3";
enablenpc " #Alarm Mask Man4";
- donpcevent " #Alarm Mask Man1::OnAlarmState";
- donpcevent " #Alarm Mask Man2::OnAlarmState";
- donpcevent " #Alarm Mask Man3::OnAlarmState";
- donpcevent " #Alarm Mask Man4::OnAlarmState";
+ specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man1";
+ specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man2";
+ specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man3";
+ specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man4";
initnpctimer;
if (countitem(1095) > 2999 && countitem(2288) > 0) {
if (select("Give him items:Cancel") == 1) {
@@ -2033,15 +2033,15 @@ alde_alche,88,180,0 script Muscle Man#Alarm Mask 748,{
OnTimer4000:
specialeffect EF_FLASHER;
- setnpcdisplay "Muscle Man#Alarm Mask Man", 748;
+ setnpcdisplay "Muscle Man#Alarm Mask", 748;
disablenpc " #Alarm Mask Man1";
disablenpc " #Alarm Mask Man2";
disablenpc " #Alarm Mask Man3";
disablenpc " #Alarm Mask Man4";
- donpcevent " #Alarm Mask Man1::OnAlarmState";
- donpcevent " #Alarm Mask Man2::OnAlarmState";
- donpcevent " #Alarm Mask Man3::OnAlarmState";
- donpcevent " #Alarm Mask Man4::OnAlarmState";
+ specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man1";
+ specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man2";
+ specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man3";
+ specialeffect EF_CLAYMORE,AREA," #Alarm Mask Man4";
stopnpctimer;
end;
}
@@ -2050,40 +2050,24 @@ alde_alche,86,184,0 script #Alarm Mask Man1 1193,{
OnInit:
disablenpc " #Alarm Mask Man1";
end;
-
-OnAlarmState:
- specialeffect EF_CLAYMORE;
- end;
}
alde_alche,89,184,0 script #Alarm Mask Man2 1193,{
OnInit:
disablenpc " #Alarm Mask Man2";
end;
-
-OnAlarmState:
- specialeffect EF_CLAYMORE;
- end;
}
alde_alche,92,184,0 script #Alarm Mask Man3 1193,{
OnInit:
disablenpc " #Alarm Mask Man3";
end;
-
-OnAlarmState:
- specialeffect EF_CLAYMORE;
- end;
}
alde_alche,95,184,0 script #Alarm Mask Man4 1193,{
OnInit:
disablenpc " #Alarm Mask Man4";
end;
-
-OnAlarmState:
- specialeffect EF_CLAYMORE;
- end;
}
// Drooping Cat, Smokie Leaf, Lazy Smokie, Blue Fish