diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-05 10:48:44 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-05 10:48:44 -0300 |
commit | 3b5afe2a615478c1edff0f83b8af7a0e8334af73 (patch) | |
tree | fd7a8fd3cdad0c7d5e269272ff5e08a48b77ae27 /npc | |
parent | 757fd6ba3b99de58c794e36e9b67677c53a11700 (diff) | |
download | serverdata-3b5afe2a615478c1edff0f83b8af7a0e8334af73.tar.gz serverdata-3b5afe2a615478c1edff0f83b8af7a0e8334af73.tar.bz2 serverdata-3b5afe2a615478c1edff0f83b8af7a0e8334af73.tar.xz serverdata-3b5afe2a615478c1edff0f83b8af7a0e8334af73.zip |
Fix Cursed Mouboo quest
Diffstat (limited to 'npc')
-rw-r--r-- | npc/014-5-1/sagratha.txt | 17 | ||||
-rw-r--r-- | npc/items/rand_sc_heal.txt | 10 |
2 files changed, 24 insertions, 3 deletions
diff --git a/npc/014-5-1/sagratha.txt b/npc/014-5-1/sagratha.txt index 9953a8b4e..b84e6c6ff 100644 --- a/npc/014-5-1/sagratha.txt +++ b/npc/014-5-1/sagratha.txt @@ -108,8 +108,25 @@ L_Reward: mesn; mesq l("Do you need something from me?"); next; + // A check is not needed, because quest pre-requisites + // If you don't have the quest in clearable state... CHEAT! select + l("Yep. There was a cursed mouboo on the road."), l("Not really."); + mes ""; + if (@menu == 2) { + mesn; + mesq l("Okay then."); + close; + } + mesn; + mesq l("Yes, the cursed Mouboo you told me earlier, on the way out."); + next; + mesn; + mesq l("The curse was done by nobody less than... the Moubootaur."); + next; + mesn; + mesq l(""); close; L_HatAttack: diff --git a/npc/items/rand_sc_heal.txt b/npc/items/rand_sc_heal.txt index 97e16f8ad..c0610b223 100644 --- a/npc/items/rand_sc_heal.txt +++ b/npc/items/rand_sc_heal.txt @@ -76,7 +76,9 @@ OnUse: @max=@rarity * ((@type*1) + 1); // Vitality raises the minimum healing value in 1%, capped at maximum vlaue - @min = min(@max, @min+readparam(bVit)); + // It also raises @max up to double + @max = min(@max*2, @min+(readparam(bVit)/50)); + @min = min(@max, @min+(readparam(bVit)/30)); // Make these abstract % in absolute values @min=max(1, MaxHp*@min/100); @@ -120,11 +122,13 @@ OnUse: sc_end .@skill; sc_start2 .@skill, @delay, @val1, 1; + // Clear stuff + // @min and @max must be preserved for cross-reading @delay=0; @type=0; @rarity=0; - @min=0; - @max=0; + // @min=0; + // @max=0; @val1=0; end; } |