summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-25 11:41:54 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-25 11:41:54 -0300
commita79606ce3ad00e1193b8a590f347f73e4aceed8a (patch)
treeb6e5bb60dca0fb581e41860a77c39574f0c35441
parent9f5b1a1bf21389cf30426f487489e08070ff4215 (diff)
downloadserverdata-a79606ce3ad00e1193b8a590f347f73e4aceed8a.tar.gz
serverdata-a79606ce3ad00e1193b8a590f347f73e4aceed8a.tar.bz2
serverdata-a79606ce3ad00e1193b8a590f347f73e4aceed8a.tar.xz
serverdata-a79606ce3ad00e1193b8a590f347f73e4aceed8a.zip
Min. break chances are now 15%. It hits 15% about 540s before (9 minutes)
So, crystal cooldown is now 51 min + 5 minutes = 56 minutes!
-rw-r--r--npc/items/teleporter.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/items/teleporter.txt b/npc/items/teleporter.txt
index f5ef06e70..c85dacd6f 100644
--- a/npc/items/teleporter.txt
+++ b/npc/items/teleporter.txt
@@ -33,10 +33,10 @@ OnUse:
// It have at least 20% chance to break
// Chances begin at 100%, and lower in 0.01% each second
- // It will never be below 20%, which happens after 8000 seconds
+ // It will never be below 15%, which happens after x seconds
.@timet=limit(0, gettimetick(2)-TELEPORTER_TIME, 3600);
- .@prop=.@timet*36/100; // Make it range from 0~10000
- .@adj_breakrate=limit(2000, .@prop, 9500 );
+ .@prop=.@timet*2777/1000; // Make it range from 0~10000
+ .@adj_breakrate=limit(1500, .@prop, 9500 );
//debugmes "Adjusted break ratio: %d", .@adj_breakrate;
if (rand(0,10000) > .@adj_breakrate)
getitem @itemid, 1;