From 1cc40cd6ab43b323711ee41a13297680aecbdce1 Mon Sep 17 00:00:00 2001 From: Lupus Date: Mon, 20 Mar 2006 08:32:47 +0000 Subject: added to doc: getmonsterinfo. updated NJ items git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5668 54d463be-8e91-2dee-dedb-b68131a5f0ec --- db/Changelog.txt | 2 ++ db/item_db.txt | 28 ++++++++++++++-------------- doc/script_commands.txt | 26 ++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 14 deletions(-) diff --git a/db/Changelog.txt b/db/Changelog.txt index 21077b5b3..db7686911 100644 --- a/db/Changelog.txt +++ b/db/Changelog.txt @@ -25,6 +25,8 @@ ----- ========================= +03/20 + * Updated atk,def,mfed of рн items, thanks to Haplo [Lupus] 03/18 * Updated price and such for NJ/SG weapons * Fixed tons of wrong weight, wep lvlm req level items. Big thanks to KarLaeda and Haplo [Lupus] diff --git a/db/item_db.txt b/db/item_db.txt index a3a94178f..88b82a7a1 100644 --- a/db/item_db.txt +++ b/db/item_db.txt @@ -2427,24 +2427,24 @@ 7524,Fang_,Fang,3,70,,20,,,,,,7,2,,,,,,{} // Ninja Weapons -13006,Gokurin,Gokurin,4,240000,,600,140,,1,0,268435456,7,2,2,3,65,1,1,{ bonus2 bAddEff,Eff_Curse,500; } +13006,Gokurin,Gokurin,4,240000,,600,150,,1,0,268435456,7,2,2,3,65,1,1,{ bonus2 bAddEff,Eff_Curse,500; } 13007,Jitte,Jitte,4,20000,,400,70,,1,0,268435456,7,2,2,2,35,1,1,{ bonus bBreakWeaponRate,500; } 13008,Jitte_,Jitte,4,20000,,400,70,,1,0,268435456,7,2,2,2,35,1,1,{ bonus bBreakWeaponRate,500; } -13009,Kamaitachi,Kamaitachi,4,48000,,900,140,,1,0,268435456,7,2,2,4,70,1,1,{ bonus bCritical,1; } +13009,Kamaitachi,Kamaitachi,4,48000,,900,125,,1,0,268435456,7,2,2,4,70,1,1,{ bonus bCritical,1; } 13010,Ashura,Ashura,4,32000,,600,50,,1,0,268435456,7,2,2,1,12,1,1,{ bonus bMatkRate,10; } 13011,Ashura_,Ashura,4,32000,,600,50,,1,0,268435456,7,2,2,1,12,1,1,{ bonus bMatkRate,10; } -13012,Murasame,Murasame,4,48000,,700,140,,1,0,268435456,7,2,2,2,24,1,2,{ bonus2 bCriticalAddRace,RC_DemiHuman,5; } -13013,Murasame_,Murasame,4,48000,,700,140,,1,0,268435456,7,2,2,2,24,1,2,{ bonus2 bCriticalAddRace,RC_DemiHuman,5; } -13014,Hakujin,Hakujin,4,120000,,800,140,,1,0,268435456,7,2,2,3,42,1,2,{ bonus4 bAutoSpell,28,10,20,0; } -13015,Hakujin_,Hakujin,4,120000,,800,140,,1,0,268435456,7,2,2,3,42,1,2,{ bonus4 bAutoSpell,28,10,20,0; } +13012,Murasame,Murasame,4,48000,,700,95,,1,0,268435456,7,2,2,2,24,1,2,{ bonus2 bCriticalAddRace,RC_DemiHuman,5; } +13013,Murasame_,Murasame,4,48000,,700,95,,1,0,268435456,7,2,2,2,24,1,2,{ bonus2 bCriticalAddRace,RC_DemiHuman,5; } +13014,Hakujin,Hakujin,4,120000,,800,120,,1,0,268435456,7,2,2,3,42,1,2,{ bonus4 bAutoSpell,28,10,20,0; } +13015,Hakujin_,Hakujin,4,120000,,800,120,,1,0,268435456,7,2,2,3,42,1,2,{ bonus4 bAutoSpell,28,10,20,0; } // Ninja Kazema Shurikens -13300,Kazemashuriken_Beneki,Kazemashuriken Beneki,4,90000,,3000,80,,1,0,268435456,7,2,2,4,65,1,,{} -13301,Kazemashuriken_Daisharin,Kazemashuriken Daisharin,4,40000,,2500,80,,1,0,268435456,7,2,2,4,42,1,,{bonus2 bAddEff,Eff_Bleeding,500; } -13302,Kazemashuriken_Daisharin,Kazemashuriken Daisharin,4,40000,,2500,80,,1,0,268435456,7,2,2,4,42,1,,{ bonus2 bAddEff,Eff_Bleeding,500; } -13303,Kazemashuriken_Rekka,Kazemashuriken Rekka,4,78000,,1500,80,,1,0,268435456,7,2,2,4,55,1,,{ bonus3 bAutoSpell,19,10,100; } +13300,Kazemashuriken_Beneki,Kazemashuriken Beneki,4,90000,,3000,150,,1,0,268435456,7,2,2,4,65,1,,{} +13301,Kazemashuriken_Daisharin,Kazemashuriken Daisharin,4,40000,,2500,50,,1,0,268435456,7,2,2,4,42,1,,{bonus2 bAddEff,Eff_Bleeding,500; } +13302,Kazemashuriken_Daisharin,Kazemashuriken Daisharin,4,40000,,2500,50,,1,0,268435456,7,2,2,4,42,1,,{ bonus2 bAddEff,Eff_Bleeding,500; } +13303,Kazemashuriken_Rekka,Kazemashuriken Rekka,4,78000,,1500,185,,1,0,268435456,7,2,2,4,55,1,,{ bonus3 bAutoSpell,19,10,100; } -2117,Gauntlet,Gauntlet,5,10000,,150,,4,,0,268435456,7,2,32,,20,1,,{} -2118,Gauntlet_,Gauntlet,5,10000,,150,,4,,1,268435456,7,2,32,,20,1,,{} -2119,Superior_Gauntlet,Superior Gauntlet,5,40000,,150,,7,,0,268435456,7,2,32,,50,1,,{} -2120,Superior_Gauntlet_,Superior Gauntlet,5,40000,,150,,7,,0,268435456,7,2,32,,50,1,,{} +2117,Gauntlet,Gauntlet,5,10000,,150,,5,,0,268435456,7,2,32,,20,1,,{} +2118,Gauntlet_,Gauntlet,5,10000,,150,,5,,1,268435456,7,2,32,,20,1,,{} +2119,Superior_Gauntlet,Superior Gauntlet,5,40000,,150,,4,,0,268435456,7,2,32,,50,1,,{ bonus bMdef,5; } +2120,Superior_Gauntlet_,Superior Gauntlet,5,40000,,150,,4,,0,268435456,7,2,32,,50,1,,{ bonus bMdef,5; } diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 738b13584..acf532b48 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -4836,6 +4836,32 @@ Valid types are: 4 - sex; 5 - equip; 6 - weight; 7 - atk; 8 - def; 9 - range; 10 - slot; 11 - look; 12 - elv; 13 - wlv; +Check sample in nps\sample\getiteminfo.txt + +--------------------------------------- + +*getmonsterinfo(,) + +This function will look up the monster with the specified ID number in the database +and return the info set by TYPE argument. +It will return -1 if there is no such item. Due to specific of MOB DB routines, +it's better to check monster name. It'd return "Dummy" for a non-existing monster. + +Valid types are listed in const.txt: + MOB_NAME 0 MOB_LV 1 + MOB_MAXHP 2 MOB_BASEEXP 3 + MOB_JOBEXP 4 MOB_ATK1 5 + MOB_ATK2 6 MOB_DEF 7 + MOB_MDEF 8 MOB_STR 9 + MOB_AGI 10 MOB_VIT 11 + MOB_INT 12 JOB_DEX 13 + MOB_LUK 14 MOB_RANGE 15 + MOB_RANGE2 16 MOB_RANGE3 17 + MOB_SIZE 18 MOB_RACE 19 + MOB_ELEMENT 20 MOB_MODE 21 + +Check sample in nps\sample\getmonsterinfo.txt + --------------------------------------- *pow(,) -- cgit v1.2.3-70-g09d2