summaryrefslogtreecommitdiff
path: root/npc/re/jobs/3-1/rune_knight.txt
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-27 06:11:18 +0000
committereuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-27 06:11:18 +0000
commit847a41f41dc4296c8c2aa42a79c23336f55e665b (patch)
tree4010b867b2060861d519babb6da86c0879825ff9 /npc/re/jobs/3-1/rune_knight.txt
parentf4867954028b6c7b4d37c9860696578b27d6dbd1 (diff)
downloadhercules-847a41f41dc4296c8c2aa42a79c23336f55e665b.tar.gz
hercules-847a41f41dc4296c8c2aa42a79c23336f55e665b.tar.bz2
hercules-847a41f41dc4296c8c2aa42a79c23336f55e665b.tar.xz
hercules-847a41f41dc4296c8c2aa42a79c23336f55e665b.zip
> Follow-up r17048:
- Renamed 'useskilltopc' to 'npcskill'; - Removed cast time from NPC objects, code by mkbu95 (suspected official behavior); - Documented 'npcskill'; - Replaced all instances in scripts. * Fixed max level bypass, code by malufett (bugreport:5800). * Updated Malangdo spawns to official. * Some standardization of npc/quests/first_class/. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17049 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/re/jobs/3-1/rune_knight.txt')
-rw-r--r--npc/re/jobs/3-1/rune_knight.txt37
1 files changed, 12 insertions, 25 deletions
diff --git a/npc/re/jobs/3-1/rune_knight.txt b/npc/re/jobs/3-1/rune_knight.txt
index 5cdbaea11..c29c16da0 100644
--- a/npc/re/jobs/3-1/rune_knight.txt
+++ b/npc/re/jobs/3-1/rune_knight.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= L0ne_W0lf, Muad_Dib
//===== Current Version: =====================================
-//= 1.3
+//= 1.3a
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
@@ -13,6 +13,7 @@
//= 1.1 Added forgoten Header. [Masao]
//= 1.2 Added Energy Rune item reward. [Masao]
//= 1.3 Updated script, optimized. [Euphy]
+//= 1.3a Added 'npcskill' command. [Euphy]
//============================================================
prt_in,162,24,3 script Splendid-Looking Knight 470,2,2,{
@@ -1810,15 +1811,12 @@ job3_rune02,34,46,5 script Captain Tigris#jrt1 470,2,2,{
switch(rand(6)) {
case 0:
mapannounce "job3_rune02","Captain Tigris : May Beljeve bless you!",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0
-// UseSkillToPC 34 0 0 0
- unitskilluseid getnpcid(0),"AL_BLESSING",10,getcharid(3);
+ npcskill "AL_BLESSING",1,0,0;
break;
case 1:
case 2:
mapannounce "job3_rune02","Captain Tigris : The Spark of life... may flame again.",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0
-// UseSkillToPC 28 8 70 99
- percentheal 100,100;
- skilleffect "AL_HEAL",9999;
+ npcskill "AL_HEAL",8,70,99;
break;
case 3:
mapannounce "job3_rune02","Captain Tigris : Evil demons! I will send you back to your graves!",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0
@@ -1859,20 +1857,16 @@ job3_rune02,43,46,3 script Rune Knight Lunarea#jrt1 469,2,2,{
switch(rand(6)) {
case 0:
mapannounce "job3_rune02","Rune Knight Lunarea : Quickly... find and strike at the enemy's weakness!",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0
-// UseSkillToPC 29 0 0 0
- unitskilluseid getnpcid(0),"AL_INCAGI",10,getcharid(3);
+ npcskill "AL_INCAGI",1,0,0;
break;
case 1:
case 2:
mapannounce "job3_rune02","Rune Knight Lunarea : It's not over... you need more power...",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0
-// UseSkillToPC 28 8 60 90
- percentheal 100,100;
- skilleffect "AL_HEAL",9999;
+ npcskill "AL_HEAL",8,60,90;
break;
case 3:
mapannounce "job3_rune02","Rune Knight Lunarea : Everything starts from the beginning!",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0
-// UseSkillToPC 35 0 0 0
- unitskilluseid getnpcid(0),"AL_CURE",1,getcharid(3);
+ npcskill "AL_CURE",1,0,0;
break;
case 4:
mapannounce "job3_rune02","Rune Knight Lunarea : There can't be growth without a trial.",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0
@@ -1908,15 +1902,12 @@ job3_rune02,43,34,1 script Rune Knight Renoa#jrt1 469,2,2,{
switch(rand(6)) {
case 0:
mapannounce "job3_rune02","Rune Knight Renoa : The rune of Wind! May it give you strength!",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0
-// UseSkillToPC 29 0 0 0
- unitskilluseid getnpcid(0),"AL_INCAGI",10,getcharid(3);
+ npcskill "AL_INCAGI",1,0,0;
break;
case 1:
case 2:
mapannounce "job3_rune02","Rune Knight Renoa : The rune of Birth! May give you the power of life!",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0
-// UseSkillToPC 28 8 60 90
- percentheal 100,100;
- skilleffect "AL_HEAL",9999;
+ npcskill "AL_HEAL",8,60,90;
break;
case 3:
mapannounce "job3_rune02","Rune Knight Renoa : I am faster than all of them! Different then the others!",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0
@@ -1957,20 +1948,16 @@ job3_rune02,34,34,7 script Rune Knight Velpino#jrt1 468,2,2,{
switch(rand(6)) {
case 0:
mapannounce "job3_rune02","Rune Knight Velpino : You are not one who gets to fall down in this kind of place.",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0
-// UseSkillToPC 28 8 60 90
- percentheal 100,100;
- skilleffect "AL_HEAL",9999;
+ npcskill "AL_HEAL",8,60,90;
break;
case 1:
case 2:
mapannounce "job3_rune02","Rune Knight Velpino : Move on! There are obstacles to overcome.",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0
-// UseSkillToPC 29 0 0 0
- unitskilluseid getnpcid(0),"AL_INCAGI",10,getcharid(3);
+ npcskill "AL_INCAGI",1,0,0;
break;
case 3:
mapannounce "job3_rune02","Rune Knight Velpino : You are not alone. We are by your side.",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0
-// UseSkillToPC 34 0 0 0
- unitskilluseid getnpcid(0),"AL_BLESSING",10,getcharid(3);
+ npcskill "AL_BLESSING",1,0,0;
break;
case 4:
mapannounce "job3_rune02","Rune Knight Velpino : Fight and win! Don't give in to the pain!",bc_map,"0xFFFF00"; //FW_NORMAL 12 0 0