quote:
Originally posted by Orion_Blastar
Shouldn't that be:
Align = (-1 * (Player or Corp Alignment) / 5000) * (# of Figs Lost)
That way if you attack Figs and the owner has positive alignment, you will get negative alignment.
In Visual BASIC 6.0 or VBA:
Function TWAlignFig(lFigsLost As Long, lEnemyAlign As Long) As Long
TWAlignFig = CLng(-1 * (lEnemyAlign / 5000) * lFigsLost)
End Function
? TWAlignFig(15000,20000)
-60000
Losing 150000 figs attacking Corp figs with a Corp alignment of 20000 would make you get -60000 alignment change. If you had 10000 Alignment, you now have -50000 alignment and went red and better get out of that ISS.
Heh. Not to get too picky about it, but it really says: "Amount of Alignment Lost/gained:" I felt it best to leave it up to the reader to figure out if it's negative or positive. However, i did notice an error on the page where I say exp instead of align. I will correct that shortly.