Yes, the method really helped. The only thing is that I made changes for a specific map, not for the entire client.
But another question arises here: I reduced the values for the ManaSteal ability to 0.1 per increment and SyphonMana to 0.05 per increment. After that, I went into the game to test it, and in battle, the imps drain 0 mana.
Basically, the question is whether this is related to the fact that the game cannot read non-integer numbers? And is there anything we can do to make it work?
I will attach screenshots.
Attachment 73803
Attachment 73804And an off-topic question, where can I change the stats of the summoned phoenix (HP, min-max damage)?
the formula must be broken; we don't know the formulas, so I can't say at what value everything will work. The question about integers... is strange because there are only fractions here: 0.5 and 0.05... but I would assume that the formula gives some negative values; frankly, I wouldn't be surprised after the formula for a unit's spellcasting, which includes a logarithm..... in general, I did a quick test: 70 imps steal 9 mana, which is basically 0.125 mana per unit, as written on the wiki..... Is it possible that the Nivalis developers added a power to the formula? So that 0.5 turns into 0.125?? A strange and counterproductive option..... but I would bet on it; then the amount of drained mana with 0.05 will be 0.000125, and you will need 10,000 little devils to drain even 1 point.
about hero specializations
they are in the same file, just somewhere below; not everything can be changed (the item is called HeroSpecializations)
Added 3 minutes ago
how many imps do you have? I see only 6K cerberuses