How do if player get kill add x health or damage for player

How do if player get kill add x health or damage for player

rule("Rule 1")
{
	event
	{
		Player Dealt Final Blow;
		All;
		All;
	}

	actions
	{
		If(Event Player.H);
			Event Player.H += 25;
		Else;
			Event Player.H = 25;
			Add Health Pool To Player(Event Player, Health, Event Player.H, True, True);
		End;
	}}

Change the “25” to the health number you want to add to the player;
Change the “Health type” Value in Add Health Pool to Player to the Health type you want (Shield, Health or Armor);
Change “Player Dealt Final Blow” to “Player Earned Elimination” if you want the player to receive the Health if they participated in a Kill.
(only matters for Team based Game modes)

1 Like

thank you so much!!!

1 Like