Jump to content

components.health:Kill() does not affect Wanda correctly


Raiscies
  • Pending

if we use Wanda's health components to kill it,  wanda may not be killed if it is young enough

i guess this is because of Wanda;'s special health mechanism.


Steps to Reproduce
-- first select a player who plays Wanda
-- i assume AllPlayers[1] is a Wanda
local wanda = AllPlayers[1]
-- and then try to kill it, we just simplely use Kill function
wanda.components.health:Kill()
-- now wanda does not be killed if it is young enough, it just aging serveal years

 




User Feedback


On 2/19/2024 at 7:41 PM, _zwb said:

Just kill Wanda a couple more times :)

haha, that's funny. I'm just found that

player.components.health:SetPercent(0)

works perfectly for Wanda and any other characters

as a temporary replacement for Kill()

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...