thx for rply guys
EFFx
Your code does not work !
OciXCrom
Quote:
|
// Completely block damage when player has armor:
|
The first function do not cause any damage for victim ?
Quote:
|
// Don't do damage below 1 health:
|
the second code worked for HP + ARmor but i need it for Armor only ?
PS:
To be more clear
I want to consume the armor from the victim to get the infection
The possibility of problem may be when the victim has a small health (ex: 1 hp) and a large armor (ex: 100)
So here the player may die without infection
__________________