summaryrefslogtreecommitdiff
path: root/npc/items/teleporter.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-12-03 10:27:12 -0300
committerJesusaves <cpntb1@ymail.com>2022-12-03 10:27:12 -0300
commit3a4148ca90d9c236cec6081e10bdb22ce3968a30 (patch)
tree3af55d082774e219e1f109f79786385878c0afef /npc/items/teleporter.txt
parentd41597b05cd9c2a91272922043b8906257ad629c (diff)
downloadserverdata-3a4148ca90d9c236cec6081e10bdb22ce3968a30.tar.gz
serverdata-3a4148ca90d9c236cec6081e10bdb22ce3968a30.tar.bz2
serverdata-3a4148ca90d9c236cec6081e10bdb22ce3968a30.tar.xz
serverdata-3a4148ca90d9c236cec6081e10bdb22ce3968a30.zip
Some minor adjustments I've been meaning to do for weeks.
Diffstat (limited to 'npc/items/teleporter.txt')
-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 b7e311b85..4ed8c27cb 100644
--- a/npc/items/teleporter.txt
+++ b/npc/items/teleporter.txt
@@ -33,12 +33,12 @@ OnUse:
// The chance to break is always at least 20%
// Begins at 100% and each second will subtract 0.01%
- // It will never go below 15%, which happens after x seconds
+ // It will never go below 5%, which happens after x seconds
.@timet=limit(0, gettimetick(2)-TELEPORTER_TIME, 3600);
.@prop=.@timet*2777/1000; // Make it range from 0~10000
- .@adj_breakrate=limit(1500, .@prop, 9500 );
+ .@adj_breakrate=limit( 500, .@prop, 9500 );
//debugmes "Adjusted break ratio: %d", .@adj_breakrate;
- if (rand(0,10000) > .@adj_breakrate)
+ if (rand(10000) > .@adj_breakrate)
getitem @itemid, 1;
else
getitem BrokenWarpCrystal, 1;