summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-30 12:07:57 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-30 12:07:57 -0300
commit2c8e89cbb27f6f7adde24a17914c9f7c6ddb3aa6 (patch)
tree7d445af543921ae0158ba6b3205cf4cd8e2e35d0 /npc/items
parent63f7e157946a0d2b8d09fb9d417c91c87beb23c6 (diff)
downloadserverdata-2c8e89cbb27f6f7adde24a17914c9f7c6ddb3aa6.tar.gz
serverdata-2c8e89cbb27f6f7adde24a17914c9f7c6ddb3aa6.tar.bz2
serverdata-2c8e89cbb27f6f7adde24a17914c9f7c6ddb3aa6.tar.xz
serverdata-2c8e89cbb27f6f7adde24a17914c9f7c6ddb3aa6.zip
Minimum Warp Crystal Break Rate - 30% → 20%
Diffstat (limited to 'npc/items')
-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 40bf61821..01a1af586 100644
--- a/npc/items/teleporter.txt
+++ b/npc/items/teleporter.txt
@@ -31,10 +31,10 @@ OnUse:
}
// TODO: Are you already at target point?
- // It have at least 30% chance to break
+ // It have at least 20% chance to break
// Chances begin at 100%, and lower in 0.01% each second
- // It will never be below 30%, which happens after 7000 seconds
- .@adj_breakrate=max(3000, 10000-(gettimetick(2)-TELEPORTER_TIME) );
+ // It will never be below 20%, which happens after 7000 seconds
+ .@adj_breakrate=max(2000, 10000-(gettimetick(2)-TELEPORTER_TIME) );
//debugmes "Adjusted break ratio: %d", .@adj_breakrate;
if (rand(0,10000) > .@adj_breakrate)
getitem @itemid, 1;