diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-18 22:38:49 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-18 22:38:49 -0300 |
commit | eb8dee1d9a43a217db407cb706c9a57f59b486b4 (patch) | |
tree | cda205aab5a1b1f8afb9104a9eff361fd2c91d78 | |
parent | 65dbd8f66eb174f485ef399cb5f4600ff9ef49af (diff) | |
download | serverdata-eb8dee1d9a43a217db407cb706c9a57f59b486b4.tar.gz serverdata-eb8dee1d9a43a217db407cb706c9a57f59b486b4.tar.bz2 serverdata-eb8dee1d9a43a217db407cb706c9a57f59b486b4.tar.xz serverdata-eb8dee1d9a43a217db407cb706c9a57f59b486b4.zip |
Magic Apple (MaxHP +3500 for 10 minutes). Item for Player Quest. Effects expire on death.
Also sold for 115 Strange Coins on Aeros Shop.
-rw-r--r-- | db/re/item_db.conf | 18 | ||||
-rw-r--r-- | npc/001-1/rewards.txt | 1 | ||||
-rw-r--r-- | npc/001-7/homunculus.txt | 6 |
3 files changed, 22 insertions, 3 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 44e1ca561..303f0d6f2 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -3251,6 +3251,24 @@ item_db: ( callfunc "grenade", 3, rand(100,150)+BaseLevel*6, true; "> }, +{ + Id: 683 + AegisName: "MagicApple" + Name: "Magic Apple" + Type: "IT_USABLE" + Buy: 1000000 + Sell: 0 + Weight: 10 + Refine: false + Delay: 500 + Script: <" + @min = 3500; + @max = 3500; + @delay = 600; + @type = SC_INCMHP; + doevent "inc_sc_bonus::OnUse"; + "> +}, // Mounts (690 to 699, probably there will be extra IDs) { diff --git a/npc/001-1/rewards.txt b/npc/001-1/rewards.txt index 12edfd4be..0855b6af3 100644 --- a/npc/001-1/rewards.txt +++ b/npc/001-1/rewards.txt @@ -64,6 +64,7 @@ OnInit: sellitem BlueDye, 36; // Consumables + sellitem MagicApple,115; sellitem Grenade,50; sellitem ElixirOfLife,32; sellitem CelestiaTea,18; diff --git a/npc/001-7/homunculus.txt b/npc/001-7/homunculus.txt index 19e68dbd3..23673d0d6 100644 --- a/npc/001-7/homunculus.txt +++ b/npc/001-7/homunculus.txt @@ -179,10 +179,10 @@ OnInit: close; } mesn strcharinfo(0); - mesc l("You carefully pick a @@. It looks delicious, but you probably will need it later.", getitemlink(RedApple)); + mesc l("You carefully pick a @@. It looks delicious, but you probably will need it later.", getitemlink(MagicApple)); if (!(.@q & .hcID)) { - inventoryplace RedApple, 1; - getitem RedApple, 1; + inventoryplace MagicApple, 1; + getitem MagicApple, 1; setq2 FrostiaQuest_Homunculus, .@q|.hcID; } close; |