diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-10-08 20:48:01 +0000 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-10-08 20:48:01 +0000 |
commit | 99385b26263c27020d8ce526afaa1811e4eceaa1 (patch) | |
tree | 9f4ef401fbc568c973829a9a4de8ec2b5441a0c7 /npc/items/teleporter.txt | |
parent | d155ce1ed965b6e74cf5b509dd0eb615b4d13834 (diff) | |
download | serverdata-99385b26263c27020d8ce526afaa1811e4eceaa1.tar.gz serverdata-99385b26263c27020d8ce526afaa1811e4eceaa1.tar.bz2 serverdata-99385b26263c27020d8ce526afaa1811e4eceaa1.tar.xz serverdata-99385b26263c27020d8ce526afaa1811e4eceaa1.zip |
NPC Improvements
Diffstat (limited to 'npc/items/teleporter.txt')
-rw-r--r-- | npc/items/teleporter.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/items/teleporter.txt b/npc/items/teleporter.txt index d08f006c7..b7e311b85 100644 --- a/npc/items/teleporter.txt +++ b/npc/items/teleporter.txt @@ -10,8 +10,8 @@ function Cooldown { mesn; - mesc l("Successive warps cause time-space distortions and thus, are not allowed."); - mesc l("You can use it again in @@.", FuzzyTime(TELEPORTER_TIME)); + mesc l("Successive warps cause time-space distortions and are thus not allowed."); + mesc l("You can use it again in %s.", FuzzyTime(TELEPORTER_TIME)); getitem @itemid, 1; close; } @@ -26,14 +26,14 @@ OnUse: if (TELEPORTER_TIME > gettimetick(2)) Cooldown(); if (BaseLevel < 20) { - dispbottom l("This is too powerful to you. Get level 20 before attempting to use."); + dispbottom l("The might contained in this curious object is too powerful. You have to be at least level 20 to harness it."); ReturnItem(); } // TODO: Are you already at target point? - // It have at least 20% chance to break - // Chances begin at 100%, and lower in 0.01% each second - // It will never be below 15%, which happens after x seconds + // 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 .@timet=limit(0, gettimetick(2)-TELEPORTER_TIME, 3600); .@prop=.@timet*2777/1000; // Make it range from 0~10000 .@adj_breakrate=limit(1500, .@prop, 9500 ); |