diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-20 12:53:23 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-20 12:53:23 -0300 |
commit | 093645d7b7477189080fdc537eeeb91d57167c59 (patch) | |
tree | c596078a00653b2eca031d4dfd69395ce69c51c9 | |
parent | 7cbff2a027666f0708ae11d5a134f88ed02cb946 (diff) | |
download | serverdata-093645d7b7477189080fdc537eeeb91d57167c59.tar.gz serverdata-093645d7b7477189080fdc537eeeb91d57167c59.tar.bz2 serverdata-093645d7b7477189080fdc537eeeb91d57167c59.tar.xz serverdata-093645d7b7477189080fdc537eeeb91d57167c59.zip |
Fix bugs
-rw-r--r-- | db/re/item_db.conf | 12 | ||||
-rw-r--r-- | npc/items/rand_sc_heal.txt | 11 |
2 files changed, 7 insertions, 16 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index 26c4b5855..3ae57b552 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -192,7 +192,7 @@ item_db: ( monster(.@map$, .@x, .@y, l("Not An Oak"), SpringSquirrel, 1); } } else { - @type = 1; + @type = 0; @rarity=1; doevent "rand_sc_heal::OnUse"; } @@ -453,6 +453,7 @@ item_db: ( doevent "legacy_heal::OnUse"; "> }, +// ID 516 missing { Id: 517 AegisName: "DeliciousCookie" @@ -651,7 +652,7 @@ item_db: ( @min = 30; @max = 50; @delay = 4; - doevent "rand_sc_heal::OnUse"; + doevent "legacy_heal::OnUse"; "> }, { @@ -685,7 +686,8 @@ item_db: ( Delay: 1000 UseEffect: "EFFECT_HEAL" Script: <" - sc_start SC_ATTHASTE_POTION1, 30000, 5; + sc_start SC_INCATKRATE, 30000, 10; + //sc_start SC_ATTHASTE_POTION1, 30000, 5; sc_end SC_POISON; @type = 1; @rarity=9; @@ -844,7 +846,7 @@ item_db: ( UseEffect: "EFFECT_HEAL" Script: <" @type = 1; - @rarity=3; + @rarity=4; doevent "rand_sc_heal::OnUse"; "> }, @@ -862,7 +864,7 @@ item_db: ( UseEffect: "EFFECT_HEAL" Script: <" @type = 1; - @rarity=4; + @rarity=3; doevent "rand_sc_heal::OnUse"; "> }, diff --git a/npc/items/rand_sc_heal.txt b/npc/items/rand_sc_heal.txt index fdfcb5cd2..533a92d1b 100644 --- a/npc/items/rand_sc_heal.txt +++ b/npc/items/rand_sc_heal.txt @@ -66,17 +66,6 @@ */ OnUse: -// @type -// 0 - Sweeties (lowest) -// 1 - Vegetables -// 2 - Proteins -// 3 - Proccessed -// 4 - Magical (highest) -// @delay -// Overrides the lasting time -// @rarity -// How rare the item is (how much should it effect) -// Ranges from 1 to 10. if (@rarity <= 0) { Exception("Invalid healing item, deleting without healing effect."); end; |