AI Critical Hit
#1

AI Critical Hit

I thought this would be a nice health detection system for all kinds of game modes. I also added in a critical hit system that runs randomly based on numbers you put in. As in all my scripts, the custom variables to mod the way the script is are easy to understand.

Код:
//----[Custom Stats]------------------------------------------------------------
new criticalpercent = 5; // % chance that a hit will be a critical hit.
new criticalamount = 2; // Damage multiplier for critical hit 2 = 2x damage.
new timerspeed   = 1; // How fast the health detection timer is in seconds.
//------------------------------------------------------------------------------
Download
PWN + AMX (http://www.mediafire.com/?wj1y1ouux4o)
AMX (http://www.mediafire.com/?zgw0mjidlyz)
Pastebin (http://pastebin.com/f7a462064)

As always, post any suggestions you would like to see and I will add them
Reply
#2

What is this exactly?
Reply
#3

I think its a Critical Hit a person can get...
Basically its useful to RP server
maybe make it that when the player has 25HP or lower h gets anim Crack and Medic need to /heal him
Reply
#4

This would be a cool script, but that code just doesn't make sense to me. =/
Reply
#5

*I think* If you lose X amount of health it tells you that it was a critical hit/injury then it takes some health away.
Reply
#6

Ahh I see yeah i'm confused by the title, I was thinking more of the lines of a mob hit.
Reply
#7

No lol, a critical hit is when you hit you have 5% (in this case) to get a critical hit doing 2x more damage that hit.
Understand?

damn people you never played Pokemon!
Reply
#8

Pokemon lol. Well, You gave no info so we guessed ^_^
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)