diff options
-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; } |