Vengeance calculation taken where?
#12
adeyke,Jan 27 2004, 02:18 AM Wrote:If such a mod is possible, it's beyond my abilities.  I wouldn't know how to change it to +coldskills.
ah, glad to be of assistance then...

Many of the properties referred to in uniques.txt, magic*fix.txt, etc. are listed in properties.txt

"fireskill" is what magefists have, and one can see from a quick glance at properties.txt that this is actually translated to item_elemskill with a val1 of 1.

While I do not know anything about changing the text descriptions for uniques (so that things read sensibly, to end-users), I do know that one can easily add a line to properties.txt, such as for "lightskill", using a val1 of 2, and this does what you want (if, for example, you test by changing uniques.txt magefist to use "lightskill" instead of fireskill). I'm guessing that 3 = cold or poison and so forth, although it might be done as a bitfield.

I don't frequent Phrozen Keep, so I guessed this stuff on my own, and have no idea whether better information is available there, buried in the mass of old posts and speculations.

edit: typo fix

edit2: "4" is the value for cold skill, and yes, it does indeed boost vengence, so the Etype column is almost certainly the criteria (which means, incidentally, that the weirdness with traps being multiple minions is all that prevents magefists from helping Death Sentry, afaik). BTW, I have no idea if 8 works for some other "element" but 0 and 3 didn't seem to have any effect for the obvious things to probe.

edit3: I'm done eating dinner now, so I won't bother probing this any further... I saw no effect for 0, 3, 8, so the only values for val1 I know are: 1 = fire, 2 = lightning, 4 = cold.

edit4: Okay, I lied!... here is the enumeration from elemtypes.txt, which is almost certainly the key to val1:

1 fire
2 ltng
3 mag
4 cold
5 pois
6 life
7 mana
8 stam
9 stun
10 rand
11 burn
12 frze

I find that "rand" to be rather interesting... is that the spectral hit stuff maybe? Whether these values, other than 1, 2, & 4, work for val1 for item_elemskill I have not tested.

edit5: I've confirmed 3 for magic and 5 for poison. I did not confirm 9 for Mind Blast, but perhaps my procedure was flawed (or maybe a case statement in the code only does the 5 "primary" elements).
"He's got demons? Cool!" -- Gonzo, Muppet Treasure Island

"Proto-matter... an unstable substance which every ethical scientist in the galaxy has denounced as dangerously unpredictable." -- Saavik, Star Trek III

"Mom! Dad! It's evil! Don't touch it!" -- Kevin, Time Bandits
Reply


Messages In This Thread
Vengeance calculation taken where? - by Squalish - 01-26-2004, 09:58 AM
Vengeance calculation taken where? - by adeyke - 01-26-2004, 02:14 PM
Vengeance calculation taken where? - by ak404 - 01-26-2004, 09:41 PM
Vengeance calculation taken where? - by adeyke - 01-26-2004, 10:58 PM
Vengeance calculation taken where? - by Caaroid - 01-26-2004, 11:14 PM
Vengeance calculation taken where? - by adeyke - 01-26-2004, 11:41 PM
Vengeance calculation taken where? - by adeyke - 01-27-2004, 01:55 AM
Vengeance calculation taken where? - by adeyke - 01-27-2004, 02:27 AM
Vengeance calculation taken where? - by Crystalion - 01-27-2004, 03:00 AM
Vengeance calculation taken where? - by Tommi - 01-27-2004, 02:26 PM
Vengeance calculation taken where? - by ryan4nayr - 02-13-2004, 03:48 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)