Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » All about modding JA2 » Stat Repair Rate
Stat Repair Rate[message #347063] Sun, 25 September 2016 00:26 Go to next message
edmortimer

 
Messages:829
Registered:January 2015
Location: Home Free
This was just brought to my attention -- and I don't know which part or parts of this is wrong:

In r7609 Skill_Settings.INI

Quote:
; The speed rate of stat repairing is : ( repair_stats_rate_basic + <num of doctor traits merc has> * repair_stats_rate_ontop )
; (With values 20 and 40, this means that paramedic has a rate of 60, Doctor a rate of 100.)
REPAIR_STATS_RATE_BASIC = 20
REPAIR_STATS_RATE_ONTOP = 40


Going by the formula: Paramedic . . . 20+1*40=840, Doctor 20+2*40=880

Considering the additive and multiplicative signs are reversed by accident . . . Paramedic 20*1+40=60, Doctor 20*2+40=80

How do we end up with "paramedic has a rate of 60, Doctor a rate of 100"?

[Updated on: Sun, 25 September 2016 00:28]





Arulco Vacations Blog

Arulco Vacations Bears Pit Forum

Re: Stat Repair Rate[message #347069 is a reply to message #347063] Sun, 25 September 2016 10:21 Go to previous messageGo to next message
silversurfer

 
Messages:2164
Registered:May 2009
The formula is:
REPAIR_STATS_RATE_BASIC + REPAIR_STATS_RATE_ONTOP * NumSkillTraits(DOCTOR)

So the best you can get with the default values is:
Paramedic = 20 + 40 * 1 = 60
Doctor = 20 + 40 * 2 = 100

These values represent a percentage effectiveness of the doctor. So a paramedic will spend his healing points with only 60% effectiveness whereas a doctor is 100% effective.

The stat repair value is reduced by the REPAIR_STATS_RATE_REDUCTION_IF_ALSO_HEALING percentage if the doc is also healing the patient.
If the doc is repairing stats the healing value will be reduced by the HEALING_RATE_REDUCTION_IF_ALSO_REPAIRING_STATS percentage.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Re: Stat Repair Rate[message #347070 is a reply to message #347069] Sun, 25 September 2016 18:37 Go to previous message
edmortimer

 
Messages:829
Registered:January 2015
Location: Home Free
Quote:
The formula is:
. . .

Got it, thanks!




Arulco Vacations Blog

Arulco Vacations Bears Pit Forum

Previous Topic: Music mods?
Next Topic: Changing the Intro Soundtrack
Goto Forum:
  


Current Time: Tue Oct 17 00:58:01 EEST 2017

Total time taken to generate the page: 0.00806 seconds