From bc72f47f9df43d9545d567fe0244836caba22eec Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 18 Jan 2024 16:10:46 -0300 Subject: Fix the typo --- npc/031-5/beatrice.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/npc/031-5/beatrice.txt b/npc/031-5/beatrice.txt index 0ded086b3..c42fdfe4c 100644 --- a/npc/031-5/beatrice.txt +++ b/npc/031-5/beatrice.txt @@ -75,8 +75,14 @@ L_Seller: } //debugmes "Ratio %s", .@mb$; .@pc = 1+.ratio-(.@rt); // The reverse, so it goes from 1 to ratio + // Bonus points for when quadratic scaling apply if (.@pc >= 100) - .@pc += 12; // Each 0.01% chance gives a bonus of 12 points + .@pc += 2; + else if (.@pc >= 99) + .@pc += 1; + // Sanitization and Scaling + .@pc *= 10; + .@pc = min(.@pc, 1120); mesn; mesq l("I offer you %s Aethyr Points per unit of %s. How many do you wish to sell? (0-%d)", fnum(.@pc), getitemlink(.@id), countitem(.@id)); input .@am, 0, countitem(.@id); -- cgit v1.2.3-70-g09d2