diff options
Diffstat (limited to 'npc/items')
-rw-r--r-- | npc/items/teleporter.txt | 6 |
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; |