Posted: Fri Nov 04, 2022 12:37 am Post subject:
Tesla Coils doesn't pass Damage=10000
Subject description: Units can be given Damage=1000000 but Tesla Coils don't and caps at 10000
Originally, I multiplied all damage and strength to 100 to simulate decimals in damage as
it only used integers. For example A unit with strength=800 will become strength=80000.
This is for verses purposes as I learned that a Damage=1 with Verses=50% will make the
damage 0.5 and rounded of to 0.
Now, I'm trying to simulate the first mission of the Empire with the Tesla Coils one-shotting
the Naginata Cruisers. But in testing the damage of tesla coils doesn't pass 10000 and
goes as far as 9999. I want to know why the Tesla Coil specifically doesn't pass this damage
as units can.
Thanks didn't know about MaxDamage. Could've probably just search "=10000".
Now I feel dumb changing the Technotypes then learn there's a max then change them back.
This is how I learn to not change a lot of things.
This is also why I have such messy code now. Because now I'm scared and traumatized. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum