Refraction: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary Tag: Manual revert |
|||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
Refraction is a quality that completely negates light-based attacks by re-directing them away from the creature. In some cases, refraction will re-direct the attack back in the general direction of the attacker, with a random degree of angular variance. In other cases the light-based attack is re-directed in a completely random direction. Refraction is different than [[reflection]]. | Refraction is a quality that completely negates [[light-based attacks]] by re-directing them away from the creature. In some cases, refraction will re-direct the attack back in the general direction of the attacker, with a random degree of angular variance. In other cases the light-based attack is re-directed in a completely random direction. Refraction is different than [[reflection]]. | ||
Some creatures have an intrinsic quality of refraction. Other creatures can gain refraction by wearing equipment that grants the quality. The [[refractive]] mod can add refraction to worn equipment or shields that do not already have the quality. | Some creatures have an intrinsic quality of refraction. Other creatures can gain refraction by wearing equipment that grants the quality. The [[refractive]] mod can add refraction to worn equipment or shields that do not already have the quality. | ||
All refraction chances are rolled separately, as opposed to adding to a shared chance.{{Code Reference|class=CyberneticsRefractLight.cs}}{{Code Reference|class=GasGlitter.cs}}{{Code Reference|class=ModRefractive.cs}}{{Code Reference|namespace=XRL.World.Parts.Mutations|class=Crystallinity.cs}}{{Code Reference|namespace=XRL.World.Parts.Mutations|class=LightManipulation.cs}}{{Code Reference|class=RefractLight.cs}} | |||
== Creatures That Refract Light-Based Attacks == | == Creatures That Refract Light-Based Attacks == | ||
Line 13: | Line 15: | ||
WHEN EI.ObjectID = 'Quartziferous Mirror' THEN '100%' | WHEN EI.ObjectID = 'Quartziferous Mirror' THEN '100%' | ||
WHEN EI.ObjectID = 'Mirror Bug' THEN '100%' | WHEN EI.ObjectID = 'Mirror Bug' THEN '100%' | ||
WHEN EI.ObjectID = 'Iopinax' THEN '100%' | |||
END)=Chance to Refract, | END)=Chance to Refract, | ||
CONCAT(CASE | CONCAT(CASE | ||
Line 18: | Line 21: | ||
WHEN EI.ObjectID = 'Quartziferous Mirror' THEN 'random' | WHEN EI.ObjectID = 'Quartziferous Mirror' THEN 'random' | ||
WHEN EI.ObjectID = 'Mirror Bug' THEN 'random' | WHEN EI.ObjectID = 'Mirror Bug' THEN 'random' | ||
WHEN EI.ObjectID = 'Iopinax' THEN 'random' | |||
END)=Refract Angle | END)=Refract Angle | ||
| where = EI.Info IS NOT NULL AND EI.Info LIKE '%Refractive,,,%' AND C.Demeanor IS NOT NULL | | where = EI.Info IS NOT NULL AND EI.Info LIKE '%Refractive,,,%' AND C.Demeanor IS NOT NULL | ||
Line 53: | Line 57: | ||
== Other Sources of Refraction == | == Other Sources of Refraction == | ||
* {{favilink|glitter dust}}, which can be created by {{favilink|glitter grenade|plural}} | * {{favilink|glitter dust}}, which can be created by {{favilink|glitter grenade|plural}}. | ||
* Eating the [[Crystal Delight]], which grants {{f|Crystallinity}}. | |||
*Installing either of the {{favilink|Skin glitter}} [[Cybernetics]] | |||
[[Category:Mechanics]] | [[Category:Mechanics]] |
Latest revision as of 00:46, 19 April 2025
Refraction is a quality that completely negates light-based attacks by re-directing them away from the creature. In some cases, refraction will re-direct the attack back in the general direction of the attacker, with a random degree of angular variance. In other cases the light-based attack is re-directed in a completely random direction. Refraction is different than reflection.
Some creatures have an intrinsic quality of refraction. Other creatures can gain refraction by wearing equipment that grants the quality. The refractive mod can add refraction to worn equipment or shields that do not already have the quality.
All refraction chances are rolled separately, as opposed to adding to a shared chance.[1][2][3][4][5][6]
Creatures That Refract Light-Based Attacks
Creature | Chance to Refract | Refract Angle |
---|---|---|
![]() |
||
![]() |
||
![]() |
||
![]() |
||
![]() |
||
![]() |
75% | random |
![]() |
||
![]() |
||
![]() |
||
![]() |
||
![]() |
||
![]() |
100% | random |
![]() |
100% | random |
![]() |
||
![]() |
||
![]() |
100% | random |
![]() |
||
![]() |
||
![]() |
||
![]() |
||
![]() |
||
![]() |
Equipment That Grants Refraction
Item | Chance to Refract | Refract Angle |
---|---|---|
![]() |
2% | -180° to 180° |
![]() |
2% | -180° to 180° |
![]() |
2% | -180° to 180° |
![]() |
1% | -60° to 60° |
![]() |
50% | -120° to 120° |
Other Sources of Refraction
glitter dust, which can be created by
glitter grenades.
- Eating the Crystal Delight, which grants
Crystallinity.
- Installing either of the
skin glitter Cybernetics