Home » SIRTECH CLASSICS » Jagged Alliance: Unfinished Business » Vanilla Modding » Effective strength; wrong code??
Re: Effective strength; wrong code??[message #101228] Wed, 14 April 2004 03:01 Go to previous messageGo to previous message
Shadow21 is currently offline Shadow21

 
Messages:328
Registered:November 2001
Location: on route to San Hermanos
i think the /2 does only affect the bbandaged value. if its 0 (full health)you will have :
0.5*strength + 0.5*strength * [ (current life + 0/2) / maxlife ]
=0.5*strength + 0.5*strength * 1
=strength*1

Report message to a moderator

Master Sergeant
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Finite Enemy Resources
Next Topic: JA2 AI main faults
Goto Forum:
  


Current Time: Fri Jan 10 17:03:49 GMT+2 2025

Total time taken to generate the page: 0.01120 seconds