Raised This Month: $ Target: $400
 0% 

un-killing Players


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 06-29-2007 , 08:04   un-killing Players
Reply With Quote #1

I'll try and keep this one as short as I can ...

I want a strength stat to adjust the damage dealt on hit.

I'm fairly sure I have extra damage working, and even killing player if this extra damage should take them to hp <= 0.
But I haven't really figured how I can get it so that if damage (without adjustment) would have killed player, but with the decreased damage would not kill them then the player should not be killed.

I'm not overly familiar with the events, but I'm pretty sure that when we get the client_damage() event, the client has already been damaged / killed, making this a fair bit of hassle ...

So is this at all easy to do?

(I don't think posting my code would actually help anyone, but if it would just say)
purple_pixie is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode