PDA

View Full Version : farseer health upgrade halves health regen?


Katasi
12th Oct 04, 4:46 PM
now, I havnt tested this, and I know that the .lua files arent always amazingly clear, but I thought that if this is actually happening, its important enough that I should let the devs know asap so that they can fix it in the next patch.

ok, here's what I found: I was wandering around in the .lua files and entered the file "eldar_research_farseerhealth_1.lua"
inside this file I found this excerpt of code:

GameData["modifiers"]["modifier_03"] = Reference("health_regeneration_modifier")
GameData["modifiers"]["modifier_03"]["application_type"] = "apply_to_entity_type"
GameData["modifiers"]["modifier_03"]["target_type_name"] = "eldar_farseer"
GameData["modifiers"]["modifier_03"]["value"] = 0.500

now if I'm reading that right, and if this modifier follows the same pattern as the others ive looked at, that would indicate that farseer health regen is multiplied by 0.5 when this is researched.

If anyone knows that im reading this incorrectly, please say so asap

if this is a bug...please fix it in the next patch!

--Katasi

EDIT: I just now looked into the health upgrade file for the force commander and librarian, I found the same 4 lines of code, however, in this one, there is one more (very important) line as you can see here:

GameData["modifiers"]["modifier_07"] = Reference("health_regeneration_modifier")
GameData["modifiers"]["modifier_07"]["application_type"] = "apply_to_entity_type"
GameData["modifiers"]["modifier_07"]["target_type_name"] = "force_commander"
GameData["modifiers"]["modifier_07"]["usage_type"] = "addition"
GameData["modifiers"]["modifier_07"]["value"] = 0.500

so I would guess that either the modifier defaults to addition and therefore the farseer health regen is OK, or someone forgot that line, in which case the farseer really does get half hp regen after upgrade

TheDeadlyShoe
12th Oct 04, 9:04 PM
Nice catch. is it that way in the second health upgrade?

Katasi
13th Oct 04, 9:51 AM
I hadnt considered this, because the second upgrade's .lua file doesnt mention health regen at all, but since it inherits the .lua file from the first upgrade I would assume it also does the same thing.

So, assuming that this actually works that way and doesnt default to addition, after two upgrades the farseer has 25% health regen =(

--Katasi

Moe
13th Oct 04, 10:49 AM
Can you try and see if that is actually the case by watching how fast a damaged farseer regenerates? If it is really .25 after two upgrades, the difference in speed should be noticable.

KS_Josey_Wales
13th Oct 04, 11:18 AM
Thanks.

Katasi
13th Oct 04, 2:38 PM
just did some very basic tests, and it was VERY obvious that the farseer regens health MUCH slower after upgrades. Before upgrades, she would regen around 20 health in 10 seconds (~2hp/sec) after both upgrades, she would regen about 5 health in 10 seconds (~0.5hp/sec), which is .25 of the original, as I thought it would be from the .lua

so basically, this is definitely happening, and it's a REALLY easy fix, so we should hopefully see it fixed in the next patch ;)

--Katasi