Transmute into gem: Difference between revisions

463 bytes added ,  19:28, 2 September 2019
updated based on review of RelicGenerator code
mNo edit summary
(updated based on review of RelicGenerator code)
Line 8: Line 8:
|notxml=yes
|notxml=yes
}}
}}
Anything struck with a weapon with this mod has a 0.1% chance of being turned into a random [[gemstone]]. This is instant death if the thing struck was a creature.
Anything struck with a weapon with this mod has a 0.4%-3.2% chance of being turned into a random [[gemstone]]. This chance is rolled every time the target is hit, and will also instantly kill or destroy the target when it transmutes it into a gemstone. <ref><code>XRL.World.Parts.ModTranmuteOnHit</code><br>&nbsp;&nbsp;&nbsp;<code>XRL.World.RelicGenerator</code></ref>
 
This mod can only be found on randomly generated [[Relic]] weapons. The exact percent chance is calculated based on the weapon's tier. Each hit has a '''(Tier &times; 0.4)%''' chance to transmute the target into a gemstone.


If the player becomes a gemstone through this method, they will receive this death message:
If the player becomes a gemstone through this method, they will receive this death message:
Line 15: Line 17:


You were transmuted into a (random gemstone).}}
You were transmuted into a (random gemstone).}}
== References ==
<references />