I'm wondering if there is a way i can change every hero's hp Regen to 0 then make it go down periodically.
I'm making a rpg and I'm trying to make it as real as i can.
Hp regen help
Moderator: Cheaters
-
- Grammar King
- Posts: 2116
- Joined: June 22nd, 2008, 10:11 pm
- Title: Worst human for 4eva
- Location: Mostly USEast
Re: Hp regen help
There should be an option in the unit editor that gives hp regen. Just make that value negative.
(20:53:52) Bartimaeus: Thank you, Jen.
(20:53:56) Bartimaeus: Truly, you are wise.
Learn how to extract and read RAW Codes here!(23:44:12) Bartimaeus: I was in pubic school until middle school...
Need help? Click here and ask your question!
-
- Member
- Posts: 57
- Joined: June 9th, 2010, 10:12 pm
Re: Hp regen help
I know that, but i was hoping i could do it with triggers cause i have like 30 heroes so far.
My triforce spins
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: Hp regen help
Periodic Time - Every x seconds
Unit - Set property (Life) to (Life of (X Unit)) - X
That's what I think. I didn't copy it down directly from WE, but it should be almost correct.
Unit - Set property (Life) to (Life of (X Unit)) - X
That's what I think. I didn't copy it down directly from WE, but it should be almost correct.
-
- Member
- Posts: 57
- Joined: June 9th, 2010, 10:12 pm
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: Hp regen help
Yes.
Replace the unit with Picked Unit.
So
Periodic Time - Every x seconds
Pick every unit in x group
Unit - Set property (Life) to (Life of (Picked Unit)) - X
Replace the unit with Picked Unit.
So
Periodic Time - Every x seconds
Pick every unit in x group
Unit - Set property (Life) to (Life of (Picked Unit)) - X
-
- Member
- Posts: 57
- Joined: June 9th, 2010, 10:12 pm