Your question is a little vague, but I assume you’re trying to understand the difference between these two pieces of code in the context of the rest of the code:
else:
miss_damage_display = true
… and …
if final_ad_damage <= 0:
miss_damage_display = true
This block will process everything where final_ad_damage is greater or equal to 1:
if final_ad_damage >= 1:
So, the two lines of code in question are left to process anything else. So, cases where final_ad_damage < 1.
In the case of the first line in question (the else line), it processes everything that’s not processed by the initial if block. However, the second line in question (the if line), it only fires when final_ad_damage <= 0.
So, it does not run when final_ad_damage is greater than zero, but less than one. That’s the real difference between the two lines.
Again, else handles everything that’s not handled by the top if, but the 2nd if only handles a portion of the remaining cases…