Jump to content

Elin:Code Analysis/Feats: Difference between revisions

Line 225: Line 225:
** A number (num3) is calculated through the percentage of HP left of a character. For example, if a character has 10% HP, that number is 90.
** A number (num3) is calculated through the percentage of HP left of a character. For example, if a character has 10% HP, that number is 90.
* If the number is >= 50 (Character have less than 50% Max HP), we generate a random number, and test if num3^4 /3 is bigger than that number.  
* If the number is >= 50 (Character have less than 50% Max HP), we generate a random number, and test if num3^4 /3 is bigger than that number.  
** This effectively translate to a 33% Critical chance at 0 HP, a about 2% Critical chance at 50% HP.
** This effectively translate to a 33% Critical chance at 0 HP, and about 2% Critical chance at 50% HP.
* Remember, this calculation is done '''after all other calculations''', including all evasions. If player doesn't have this feat, this attack will hit anyway.
* Remember, this calculation is done '''after all other calculations''', including all evasions. If player doesn't have this feat, this attack will hit anyway.
** In other words, in order to trigger this effect, you have to first hit the enemy.
** In other words, in order to trigger this effect, you have to first hit the enemy.
362

edits