01-27-2004, 03:00 AM
(This post was last modified: 01-27-2004, 04:28 AM by Crystalion.)
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
"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