~AlphaFlame~
Well why didn't you say so in the first place!
Anyway, try this...
if (playerenters){
toweapons -blahblah;
setstring armorpower,5;
destroy;
}
if (isweapon){
if (playerhurt){
playerhearts+=.5;
if (strtofloat(#s(armorpower))<
Whatever it is you're using as the enemy power here){
playerhearts-=
I'll let you do the math here ;
}
}
}
You'll hafta do what's in blue though, since I have no clue what you're using for your enemy strength, and the ratio you want of armor:enemy strength damage o.0