From 69f88875ae6da9a4d0f192ecc1812972c58c0400 Mon Sep 17 00:00:00 2001 From: Inkfish Date: Wed, 3 Jun 2009 15:30:11 +0000 Subject: * Some clean ups on autocast and itemskill code. (see topic:220921 for some info) - Autocasted Teleport now skips the menu. - Fixed nullpo info when defensive autocasts are triggered. (follow up to r13815) - Fixed Warp portal used in item script never worked. - Item skills now bypass skill delay check. - Implemented SM_SELFPROVOKE. - Updated item db using 'itemskill' for some items. * Basic skills will never be reset. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13841 54d463be-8e91-2dee-dedb-b68131a5f0ec --- db/item_db.txt | 8 ++++---- db/skill_cast_db.txt | 2 ++ db/skill_db.txt | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'db') diff --git a/db/item_db.txt b/db/item_db.txt index 7e14341a5..0b9196489 100644 --- a/db/item_db.txt +++ b/db/item_db.txt @@ -104,12 +104,12 @@ 599,Light_Orange_Pot,Light Orange Potion,0,200,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(105,145),0; },{},{} // Usable Items //=================================================================== -601,Wing_Of_Fly,Fly Wing,2,60,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ warp "Random",0,0; },{},{} -602,Wing_Of_Butterfly,Butterfly Wing,2,300,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ warp "SavePoint",0,0; },{},{} +601,Wing_Of_Fly,Fly Wing,11,60,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ itemskill "AL_TELEPORT",1; },{},{} +602,Wing_Of_Butterfly,Butterfly Wing,11,300,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ itemskill "AL_TELEPORT",3; },{},{} 603,Old_Blue_Box,Old Blue Box,2,10000,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem groupranditem(IG_BlueBox),1; },{},{} 604,Branch_Of_Dead_Tree,Dead Branch,2,50,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ monster "this",-1,-1,"--ja--",-1,1,""; },{},{} -605,Anodyne,Anodyne,0,2000,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_start SC_ENDURE,10000,1; },{},{} -606,Aloebera,Aloevera,0,1500,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_start SC_PROVOKE,30000,1; },{},{} +605,Anodyne,Anodyne,11,2000,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ itemskill "SM_ENDURE",1; },{},{} +606,Aloebera,Aloevera,11,1500,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ itemskill "SM_SELFPROVOKE",1; },{},{} 607,Yggdrasilberry,Yggdrasil Berry,0,5000,,300,,,,,0xFFFFFFFF,7,2,,,,,,{ percentheal 100,100; },{},{} 608,Seed_Of_Yggdrasil,Yggdrasil Seed,0,5000,,300,,,,,0xFFFFFFFF,7,2,,,,,,{ percentheal 50,50; },{},{} 609,Amulet,Amulet,2,100,,100,,,,,0xFFFFFFFF,7,2,,,,,,{},{},{} diff --git a/db/skill_cast_db.txt b/db/skill_cast_db.txt index f6f41881e..053b37ebf 100644 --- a/db/skill_cast_db.txt +++ b/db/skill_cast_db.txt @@ -792,6 +792,8 @@ //-- SL_SKA 472,3000:2000:1000,500,0,10000:20000:30000,0 //========================================== +//-- SM_PROVOKE +473,0,0,0,30000,0 //===== Mixed Advanced Skills ============== //-- ST_PRESERVE diff --git a/db/skill_db.txt b/db/skill_db.txt index a25aa10c9..394adbd28 100644 --- a/db/skill_db.txt +++ b/db/skill_db.txt @@ -514,7 +514,7 @@ 470,9,6,1,0,0x1,0,7,1,no,0,0,0,magic,0, SL_SWOO,Eswoo 471,9,6,1,0,0x1,0,3,1,no,0,0,0,magic,0, SL_SKE,Eske 472,9,6,1,0,0x1,0,3,1,no,0,0,0,magic,0, SL_SKA,Eska -473,0,0,0,0,0,0,0,0,no,0,0,0,none,0, SM_SELFPROVOKE,Provoke Self +473,0,6,4,0,0,0,1,1,no,0,0,0,none,0, SM_SELFPROVOKE,Provoke Self 474,0,0,4,0,0x1,0,10,1,no,0,0x2,0,none,0, NPC_EMOTION_ON,Emotion ON 475,0,0,4,0,0x1,0,1,1,yes,0,0,0,none,0, ST_PRESERVE,Preserve 476,1,6,1,0,0x1,0,5,1,yes,0,0,0,weapon,0, ST_FULLSTRIP,Divest All -- cgit v1.2.3-70-g09d2