Difference between revisions of "Talk:Personal Armour"

From UFOpaedia
Jump to navigation Jump to search
(Noted the problem with the damage modifier)
 
Line 1: Line 1:
 
==Damage modifier notation incorrect==
 
==Damage modifier notation incorrect==
There is a bug in the soldier spawn routine which incorrectly assigns damage modifer category for Personal Armor as Power Armor.   
+
There is a bug in the soldier spawn routine which incorrectly assigns the Power Armor damage modifer category to units with Personal Armor.   
 
The programmers should have made the program check if the armor type read from the SOLDIER.DAT file was less than or equal to the value of 1 (personal armor). Instead, they check if the value is less than 1, which not being true for 1, allows the damage modifier category of the Power Armor to be assigned to the unit. -[[User:Morgan525|Tycho]] 13:42, 17 February 2013 (EST)
 
The programmers should have made the program check if the armor type read from the SOLDIER.DAT file was less than or equal to the value of 1 (personal armor). Instead, they check if the value is less than 1, which not being true for 1, allows the damage modifier category of the Power Armor to be assigned to the unit. -[[User:Morgan525|Tycho]] 13:42, 17 February 2013 (EST)

Revision as of 18:44, 17 February 2013

Damage modifier notation incorrect

There is a bug in the soldier spawn routine which incorrectly assigns the Power Armor damage modifer category to units with Personal Armor. The programmers should have made the program check if the armor type read from the SOLDIER.DAT file was less than or equal to the value of 1 (personal armor). Instead, they check if the value is less than 1, which not being true for 1, allows the damage modifier category of the Power Armor to be assigned to the unit. -Tycho 13:42, 17 February 2013 (EST)