I'm having a problem where heroes with attributes/stats have their HP reset back to full every time they use burrow. At level 1 when their stats are all 0, their HP stays the same when they burrow/unburrow. It seems like using burrow causes the behaviors from the stats to be reapplied to the hero which increases their current hp instead of staying the same as their current hp. I would appreciate if anyone can find a way to work around this since I've already spent hours trying to figure this out.
You need to make a burrowed version of that same unit with the same stats, otherwise, it won't work. I've made a burrowed unit before. It's in my test map.
Alright, I've done some more testing. It's definitely related to the health attribute. I still had the problem after disabling all triggers, but when I removed the health behavior from my burrowed hero (different unit from the non burrowed one, they have the same stats though), its health stayed the same. Its health still got messed up when it unburrowed though since its unburrowed health attribute gets reapplied. What's strange is that even though the health attribute at level 2 only adds 25 hp, the hero gains way more hp than that when burrowing/unburrowing. It doesn't seem like the hp just instantly changes either. It looked like it added 100 hp first and then another 50 but it happened really fast so I couldn't tell for sure. I'm using the "vital max bonus" from the unit tab on the health behavior modification. I'm willing to pm anyone the map if they can help since this is very confusing for me.
they were having similiar problems in the Zealot Frenzy map series dealing with units switching forms and resetting health. if you are familiar with the series, vikings and seige tanks switching forms gained their health back. they fixed the bug there, pm Incinerate for an answer or browse around the forum zealotfrenzy.com and see if you can find the bug topic. Hope this helps. good luck mapping.
I just checked the map and it seems like the siege tanks and vikings don't have attributes which is what is causing my problem. Unless I'm missing something I don't think that map has a solution to my problem. Thanks for trying to help though.
Is there anything I can do with requirements or validators that would make it so the heal attribute is only applied once when you level up?
seems like a very hard problem to fix, i believe i know whats causing it, but im not sure how to go about fixing it.
I am the maker of zealot frenzy, and i ran into this problem numerous times , What evilmu is saying does have some merit. Because attributes work sort of like buffs. Anytime i used a buff to increase the life of a unit, and then used a morph or a burrow ability, the life will be set to full . Now in my map because they werent heroes , i was able to stop using buffs for some of them, and just make more units, but because you HAVE to use attributes , you cant dodge the life increasing buff part with morphing.
So currently i dont think you can fix this, Morphs /Burrows for some reason require Exactly matching Stats between the 2 units used. If any of them are even in the slightest bit different, it buggs. Because the attribute is causing the difference. There in lies your problem.
I used a work-around trigger that save the health and energy of the morphing unit and correct them after the morphing complete. Works 99% of time but in some rare occasions there are still error.
I wonder if that fixes the problem. For anyone else having this problem, I hope the new patch helps you when it comes out. Anyway, I decided to use something other than burrow or cloak for my hero and it's a lot more fun to use. :)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm having a problem where heroes with attributes/stats have their HP reset back to full every time they use burrow. At level 1 when their stats are all 0, their HP stays the same when they burrow/unburrow. It seems like using burrow causes the behaviors from the stats to be reapplied to the hero which increases their current hp instead of staying the same as their current hp. I would appreciate if anyone can find a way to work around this since I've already spent hours trying to figure this out.
Bump. Here's a video of my map (doesn't show the hero with burrow):
Maybe make the attributes increase max hp by a certain amount, but reduce current hp by the same amount (maybe with an additional effect)?
You need to make a burrowed version of that same unit with the same stats, otherwise, it won't work. I've made a burrowed unit before. It's in my test map.
Alright, I've done some more testing. It's definitely related to the health attribute. I still had the problem after disabling all triggers, but when I removed the health behavior from my burrowed hero (different unit from the non burrowed one, they have the same stats though), its health stayed the same. Its health still got messed up when it unburrowed though since its unburrowed health attribute gets reapplied. What's strange is that even though the health attribute at level 2 only adds 25 hp, the hero gains way more hp than that when burrowing/unburrowing. It doesn't seem like the hp just instantly changes either. It looked like it added 100 hp first and then another 50 but it happened really fast so I couldn't tell for sure. I'm using the "vital max bonus" from the unit tab on the health behavior modification. I'm willing to pm anyone the map if they can help since this is very confusing for me.
@Panzerhandschuh: Go
they were having similiar problems in the Zealot Frenzy map series dealing with units switching forms and resetting health. if you are familiar with the series, vikings and seige tanks switching forms gained their health back. they fixed the bug there, pm Incinerate for an answer or browse around the forum zealotfrenzy.com and see if you can find the bug topic. Hope this helps. good luck mapping.
I encountered similar problem too. If anyone find the solution, please tell us! O.o
@EVILEMU: Go
I just checked the map and it seems like the siege tanks and vikings don't have attributes which is what is causing my problem. Unless I'm missing something I don't think that map has a solution to my problem. Thanks for trying to help though.
Is there anything I can do with requirements or validators that would make it so the heal attribute is only applied once when you level up?
seems like a very hard problem to fix, i believe i know whats causing it, but im not sure how to go about fixing it.
I am the maker of zealot frenzy, and i ran into this problem numerous times , What evilmu is saying does have some merit. Because attributes work sort of like buffs. Anytime i used a buff to increase the life of a unit, and then used a morph or a burrow ability, the life will be set to full . Now in my map because they werent heroes , i was able to stop using buffs for some of them, and just make more units, but because you HAVE to use attributes , you cant dodge the life increasing buff part with morphing.
So currently i dont think you can fix this, Morphs /Burrows for some reason require Exactly matching Stats between the 2 units used. If any of them are even in the slightest bit different, it buggs. Because the attribute is causing the difference. There in lies your problem.
@Jinxxx123: Go
Alright, I might just use cloak instead of burrow. It won't look as good and I'm gonna need to do a lot of modifications through behaviors.
I used a work-around trigger that save the health and energy of the morphing unit and correct them after the morphing complete. Works 99% of time but in some rare occasions there are still error.
I hope Blizz will fix this eventually.
Original Post: http://us.battle.net/sc2/en/forum/topic/1213111662
I wonder if that fixes the problem. For anyone else having this problem, I hope the new patch helps you when it comes out. Anyway, I decided to use something other than burrow or cloak for my hero and it's a lot more fun to use. :)