diff options
author | Fedja Beader <fedja@protonmail.ch> | 2025-02-11 23:15:14 +0100 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2025-02-11 23:15:14 +0100 |
commit | cd32eeaae06e283301b0489e8b20005a6350ffc6 (patch) | |
tree | 505fefbd4a10f0229305f08aa011e4af90c29cd2 | |
parent | e6932c30b2645ea896b1e90f84aa75da8e9cadf6 (diff) | |
download | serverdata-cd32eeaae06e283301b0489e8b20005a6350ffc6.tar.gz serverdata-cd32eeaae06e283301b0489e8b20005a6350ffc6.tar.bz2 serverdata-cd32eeaae06e283301b0489e8b20005a6350ffc6.tar.xz serverdata-cd32eeaae06e283301b0489e8b20005a6350ffc6.zip |
Fix fishy code
I did warn that it was fishy, didn't I??
-rw-r--r-- | npc/functions/fishing.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt index 4a251dc2a..2d1e91088 100644 --- a/npc/functions/fishing.txt +++ b/npc/functions/fishing.txt @@ -175,9 +175,9 @@ function script fishing { // Check weight & inventory slots. NPCEyes were 200g at moment of // writing this, which exceeds any obtainable reward. - inventoryplace NPCEyes, .@net_ratio + - 1 + // ancient blueprint - $EVENT$ == "Fishing" ? 1 : 0; + inventoryplace NPCEyes, (.@net_ratio + + 1 + // ancient blueprint + (($EVENT$ == "Fishing") ? 1 : 0)); if (.@account_id > 0 && !isloggedin(.@account_id, .@char_id)) |