From a58fcbd396dcdad4e3171465bd6a2ccfa985561c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 13 Mar 2019 12:30:32 -0300 Subject: Include some new potions which can only be created with the new Alchemy System - Status Reset Potion: Reset your status in the middle of a fight 'cause you're crazy. - Move Speed Potion: Raises walk speed from 150ms to 100ms for 5s - Precision Potion: Boosts your acc. (hit chance) for 20s. --- db/re/item_db.conf | 67 ++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 55 insertions(+), 12 deletions(-) (limited to 'db') diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 5a6e57b07..9a2b8c3f5 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -210,7 +210,7 @@ item_db: ( Delay: 500 UseEffect: "EFFECT_HEAL" Script: <" - sc_start SC_INCATKRATE, 10000, 100; + sc_start SC_INCATKRATE, 10000, 100; @min = 50; @max = 180; @delay = 3; @@ -1023,8 +1023,8 @@ item_db: ( @delay = 3; @type = 1; doevent "rand_sc_heal::OnUse"; - if (rand(1,8) != 4) - getitem EmptyBottle, 1; + if (rand(1,8) != 4) + getitem EmptyBottle, 1; "> }, { @@ -1706,7 +1706,7 @@ item_db: ( noauction: true } Script: <" - // 0 1 2 3 4 5 6 7 8 9 10 + // 0 1 2 3 4 5 6 7 8 9 10 setarray .@r, StrangeCoin, StrangeCoin, StrangeCoin, Arrow, SharpKnife, BugLeg, Cheese, Aquada, BronzeGladius, Aquada, Lockpicks; .@n=rand(getarraysize(.@r)); @@ -1882,8 +1882,8 @@ item_db: ( @delay = 3; @type = 1; doevent "rand_sc_heal::OnUse"; - if (rand(1,7) != 4) - getitem EmptyBottle, 1; + if (rand(1,7) != 4) + getitem EmptyBottle, 1; "> }, { @@ -1981,7 +1981,7 @@ item_db: ( Script: <" // SC_PLUSATTACKPOWER is not caught by client but works. // SC_STRUP is caught by client, but raises STR in a weird way. - // SC_INCATKRATE works best of all ^.^ + // SC_INCATKRATE works best of all ^.^ sc_start SC_PLUSATTACKPOWER, 15000, 5; @min = 30; @max = 60; @@ -2321,8 +2321,8 @@ item_db: ( @delay = 3; @type = 1; doevent "rand_sc_heal::OnUse"; - if (rand(1,7) != 4) - getitem EmptyBottle, 1; + if (rand(1,7) != 4) + getitem EmptyBottle, 1; "> }, { @@ -2744,7 +2744,7 @@ item_db: ( Refine: false ViewSprite: 642 Script: <" - REAL_ESTATE_CREDITS+=10000; + REAL_ESTATE_CREDITS+=10000; "> }, { @@ -2758,7 +2758,7 @@ item_db: ( Refine: false ViewSprite: 643 Script: <" - REAL_ESTATE_CREDITS+=100000; + REAL_ESTATE_CREDITS+=100000; "> }, { @@ -2772,7 +2772,50 @@ item_db: ( Refine: false ViewSprite: 644 Script: <" - REAL_ESTATE_CREDITS+=1000000; + REAL_ESTATE_CREDITS+=1000000; + "> +}, +{ + Id: 645 + AegisName: "StatusResetPotion" + Name: "Status Reset Potion" + Type: "IT_USABLE" + Buy: 1000000 + Sell: 0 + Weight: 700 + Refine: false + ViewSprite: 645 + Script: <" + resetstatus; + dispbottom l("Your status points were reset."); + "> +}, +{ + Id: 646 + AegisName: "MoveSpeedPotion" + Name: "Move Speed Potion" + Type: "IT_USABLE" + Buy: 1000000 + Sell: 0 + Weight: 100 + Refine: false + ViewSprite: 646 + Script: <" + sc_start SC_WALKSPEED,5000,100; + "> +}, +{ + Id: 647 + AegisName: "PrecisionPotion" + Name: "Precision Potion" + Type: "IT_USABLE" + Buy: 1000000 + Sell: 0 + Weight: 20 + Refine: false + ViewSprite: 647 + Script: <" + sc_start SC_INCHIT,20000,40; "> }, -- cgit v1.2.3-60-g2f50