summaryrefslogtreecommitdiff
path: root/npc/custom/events/cluckers.txt
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-05 04:23:44 +0000
committereuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-05 04:23:44 +0000
commit62090e2acfdd2a59be6d3f13ede19cecc8272b7b (patch)
treece5754e187e0b6657d7e54cb636d20bf625a4e1b /npc/custom/events/cluckers.txt
parentafa1863b80369377674c1f9b83b5151e51e070f3 (diff)
downloadhercules-62090e2acfdd2a59be6d3f13ede19cecc8272b7b.tar.gz
hercules-62090e2acfdd2a59be6d3f13ede19cecc8272b7b.tar.bz2
hercules-62090e2acfdd2a59be6d3f13ede19cecc8272b7b.tar.xz
hercules-62090e2acfdd2a59be6d3f13ede19cecc8272b7b.zip
* Custom Quest Shop updated to v1.4b, which fixes an incorrect 'getiteminfo' call and standardizes script format.
* Switched 'atcommand' to 'unitskilluseid' in Cluckers custom script (bugreport:6852) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16858 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/events/cluckers.txt')
-rw-r--r--npc/custom/events/cluckers.txt17
1 files changed, 9 insertions, 8 deletions
diff --git a/npc/custom/events/cluckers.txt b/npc/custom/events/cluckers.txt
index d141c41b6..bc9899488 100644
--- a/npc/custom/events/cluckers.txt
+++ b/npc/custom/events/cluckers.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Keale
//===== Current Version: =====================================
-//= 1.2
+//= 1.2a
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
@@ -15,6 +15,7 @@
//= 1.0 First release.
//= 1.1 Using 'switch rand' instead.
//= 1.2 Cleaned and standardized. [Euphy]
+//= 1.2a Switched 'atcommand' to 'unitskilluseid'.
//============================================================
prontera,156,219,4 script Cluckers 800,{
@@ -24,20 +25,20 @@ prontera,156,219,4 script Cluckers 800,{
if (.startcluck) {
specialeffect2 2;
switch(rand(15)) {
- case 0: npctalk "CLUUUUUUCK!!!"; atcommand "@nuke "+strcharinfo(0); emotion 23; break;
+ case 0: npctalk "CLUUUUUUCK!!!"; unitskilluseid getcharid(3),"NPC_SELFDESTRUCTION",1; emotion 23; break;
case 1: npctalk "Cluuuuuck!~"; break;
- case 2: atcommand "@nuke "+strcharinfo(0); break;
+ case 2: unitskilluseid getcharid(3),"NPC_SELFDESTRUCTION",1; break;
case 3: sc_start SC_Freeze,10000,0; break;
- case 4: npctalk "CLUUUUUUUUUCK!!!"; atcommand "@nuke "+strcharinfo(0); emotion 23; break;
+ case 4: npctalk "CLUUUUUUUUUCK!!!"; unitskilluseid getcharid(3),"NPC_SELFDESTRUCTION",1; emotion 23; break;
case 5: sc_start SC_Sleep,10000,0; break;
case 6: sc_start SC_Stone,10000,0; emotion 29; break;
- case 7: npctalk "CLUUUUUUCK!!!"; atcommand "@nuke "+strcharinfo(0); emotion 23; break;
- case 8: npctalk "Cluck! CLUUUCK!!"; atcommand "@nuke "+strcharinfo(0); emotion 23; break;
+ case 7: npctalk "CLUUUUUUCK!!!"; unitskilluseid getcharid(3),"NPC_SELFDESTRUCTION",1; emotion 23; break;
+ case 8: npctalk "Cluck! CLUUUCK!!"; unitskilluseid getcharid(3),"NPC_SELFDESTRUCTION",1; emotion 23; break;
case 9: sc_start SC_Stun,10000,0; break;
case 10: sc_start SC_Sleep,10000,0; emotion 29; break;
case 11: npctalk "Cluck! Cluck!"; break;
case 12: sc_start SC_Stun,10000,0; break;
- case 13: atcommand "@nuke "+strcharinfo(0); break;
+ case 13: unitskilluseid getcharid(3),"NPC_SELFDESTRUCTION",1; break;
default:
if (rand(50) < 4) {
npctalk "WOOF!...........";
@@ -47,7 +48,7 @@ prontera,156,219,4 script Cluckers 800,{
set .startcluck,0;
} else {
npctalk "Cluck! CLUUUCK!!";
- atcommand "@nuke "+strcharinfo(0);
+ unitskilluseid getcharid(3),"NPC_SELFDESTRUCTION",1;
}
break;
}