You can still have the armor tooltip show whatever number you want without adding armor to it, the Life Armor Level field on the unit is what number it shows on the tooltip, regardless of the life armor value. I don't think you can add a percent sign next to it but you can change the armor's name to say (Percent) or something next to it.
Edit: Now that I think about it, you can put anything you want in the UI - Life Armor Name field, so you pretty much can change the armor tooltip other than it will still say Armor: #. You can still put stuff like <d ref="Behavior,BehaviorID,DamageResponse[0].ModifyFraction"> or something like that. I don't know the exact field names etc.
Anyone know how to make a % based armor like w3/wow/etc.?
I believe you can do this through the use of behaviors, maybe a reversed corruption?
Indeed, set the damage response chance to 1 and modify fraction to whatever you want the damage to be reduced by.
Getting that working is the easy part, getting the right tooltip for the unit's armor icon is the hard part :) Fortunately, that's just cosmetic.
@RileyStarcraft: Go
Sounds good Even tho the tooltip display is very important, but I'll try that.
Imo there should be an option in the own unit armor (a checkable field) if you want it to be a fix reduction or a % reduction.
You can still have the armor tooltip show whatever number you want without adding armor to it, the Life Armor Level field on the unit is what number it shows on the tooltip, regardless of the life armor value. I don't think you can add a percent sign next to it but you can change the armor's name to say (Percent) or something next to it.
Edit: Now that I think about it, you can put anything you want in the UI - Life Armor Name field, so you pretty much can change the armor tooltip other than it will still say Armor: #. You can still put stuff like <d ref="Behavior,BehaviorID,DamageResponse[0].ModifyFraction"> or something like that. I don't know the exact field names etc.
@barakatx2: Go
Good idea, I 'll give it a try Thank you ^^