Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Revisions: Issue #2187 Back to Issue ]
Summary 0002187: A_CustomPunch lifesteal does not update clients' HP visual on Multiplayer
Revision 2015-04-14 00:07 by nax
Description In Single Player, setting a lifesteal value when using A_CustomPunch will gain HP from every hit as intended. In Multiplayer, it still works, but it simply doesn't visually update a clients' HP when connected to a server.

ie:
Singleplayer - HP: 50. after attacking enemy, hp reads 55.
Multiplayer - HP: 50. after enemy attack, hp reads 50 - enemy deals 1 damage to you, your HP is now 54.
Revision 2015-04-18 17:21 by cobalt
Description In Single Player, setting a lifesteal value when using A_CustomPunch will gain HP from every hit as intended. In Multiplayer, it still works, but it simply doesn't visually update a clients' HP when connected to a server.

ie:
Singleplayer - HP: 50. after attacking enemy, hp reads 55.
Multiplayer - HP: 50. after enemy attack, hp reads 50 - enemy deals 1 damage to you, your HP is now 54.
Revision 2015-04-14 00:07 by nax
Steps To Reproduce create a fist weapon using A_CustomPunch with a lifesteal value of whatever. my addon uses

A_CustomPunch(random(15,20)*5,1,0,"FistPuff",0,0.09)

for the damage / lifesteal component.

---

Go into Singleplayer, ensure your HP is below 100, and attack an enemy. Do so in Multiplayer, and notice no drop in HP.
Revision 2015-04-18 17:21 by cobalt
Steps To Reproduce create a fist weapon using A_CustomPunch with a lifesteal value of whatever. my addon uses

A_CustomPunch(random(15,20)*5,1,0,"FistPuff",0,0.09)

for the damage / lifesteal component.

---

Go into Singleplayer, ensure your HP is below 100, and attack an enemy. Do so in Multiplayer, and notice no drop in HP.






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker