Shield durability: Difference between revisions

Jump to navigation Jump to search
m (prepare for translation)
Line 1: Line 1:
<languages/>
<translate>
Shields lose durability points every time an attack is blocked and during shield surfing.
Shields lose durability points every time an attack is blocked and during shield surfing.


== Attack blocking ==
== Attack blocking ==
The logic is as follows<ref>{{addr|a=0x71002F0844|ver=nx-1.5.0}}</ref>:
The logic is as follows<ref>{{addr|a=0x71002F0844|ver=nx-1.5.0}}</ref>:


Line 24: Line 29:


== Shield surfing ==
== Shield surfing ==
Here is a gist of the logic<ref>{{addr|a=0x71002CEAF4|ver=nx-1.5.0}}: https://gist.github.com/leoetlino/34a2ce6273f7cfcbbabceda24d19aa5d</ref>:
Here is a gist of the logic<ref>{{addr|a=0x71002CEAF4|ver=nx-1.5.0}}: https://gist.github.com/leoetlino/34a2ce6273f7cfcbbabceda24d19aa5d</ref>:


Line 39: Line 45:


Since the timer is tied to the shield instance, switching to another shield will reset the timer and doing so lets the player avoid taking any surf damage.
Since the timer is tied to the shield instance, switching to another shield will reset the timer and doing so lets the player avoid taking any surf damage.
</translate>


== References ==
== References ==
<references/>
<references/>


[[Category:Game mechanics]]
[[Category:Game mechanics{{#translation:}}]]