diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-05-22 00:57:42 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-05-22 00:57:42 -0300 |
commit | bdb1ece743520c63e7dc5c47b081e43e98488a20 (patch) | |
tree | a2080b0fbca33c4904e4262f5e16b0bfbb7789bd /npc | |
parent | bea23c440838f546492e76d3ff17f373ea183389 (diff) | |
download | serverdata-bdb1ece743520c63e7dc5c47b081e43e98488a20.tar.gz serverdata-bdb1ece743520c63e7dc5c47b081e43e98488a20.tar.bz2 serverdata-bdb1ece743520c63e7dc5c47b081e43e98488a20.tar.xz serverdata-bdb1ece743520c63e7dc5c47b081e43e98488a20.zip |
Guild Level (up to 20) now improves Kamelot Chest rates
Diffstat (limited to 'npc')
-rw-r--r-- | npc/042-5/ctrl.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/042-5/ctrl.txt b/npc/042-5/ctrl.txt index 009132cc0..8e3d8b68e 100644 --- a/npc/042-5/ctrl.txt +++ b/npc/042-5/ctrl.txt @@ -146,7 +146,7 @@ function script KamelotTreasure { rentitem KamelotKey, 86400; // Ensure it expires after 24 hours .@key=true; } - .@r=100+rand2(10000)-($KAMELOT_MX[.@g]*2)-getguildlvl(.@g); + .@r=100+rand2(10000)-($KAMELOT_MX[.@g]*2)-min(100, getguildlvl(.@g)*5); // Select treasure list if (.@r <= 0) // 0.01% total, 0.001% each |