Teleportation: Difference between revisions

1 byte removed ,  18:16, 4 July 2021
Removed apostrophe in possessive 'its'
m (formatting fix)
(Removed apostrophe in possessive 'its')
Line 16: Line 16:
Teleportation grants the "Teleport" ability, which when used, will prompt the player to pick a tile to use the ability on. The selected tile must be a visible or previously explored tile. Around the selected tile will be shown an area containing all of the possible tiles the player can be teleported to, the radius of which is determined by mutation level.
Teleportation grants the "Teleport" ability, which when used, will prompt the player to pick a tile to use the ability on. The selected tile must be a visible or previously explored tile. Around the selected tile will be shown an area containing all of the possible tiles the player can be teleported to, the radius of which is determined by mutation level.


Confirming one's selection will cause the player to instantly teleport to a random tile within the area shown around the selected tile. If Teleport is successful, it will be placed on cooldown for a mutation level-based number of rounds. If the randomly chosen tile is occupied by a wall or other impassable obstacle, Teleport will print "{{qud text|&YYou are shunted!}}" to the message log and will attempt to find an empty tile within 1 tile to place the player in instead; if such a tile cannot be found, Teleport will fail and it's cooldown will not be incurred.  
Confirming one's selection will cause the player to instantly teleport to a random tile within the area shown around the selected tile. If Teleport is successful, it will be placed on cooldown for a mutation level-based number of rounds. If the randomly chosen tile is occupied by a wall or other impassable obstacle, Teleport will print "{{qud text|&YYou are shunted!}}" to the message log and will attempt to find an empty tile within 1 tile to place the player in instead; if such a tile cannot be found, Teleport will fail and its cooldown will not be incurred.  
== Formulas ==
== Formulas ==
The following formulas are used to determine uncertainty radius and cooldown based on mutation level.{{Code Reference|namespace=XRL.World.Parts.Mutation|class=Teleportation}}
The following formulas are used to determine uncertainty radius and cooldown based on mutation level.{{Code Reference|namespace=XRL.World.Parts.Mutation|class=Teleportation}}
Anonymous user