MrExpendable said:
Hi guys,
I've updated to the latest patch (v156 B4) and it seems that the charm spell is now bugged.
Instead of the charm effect, it is now doing damage. I've already tried reinstalling everything, but this doesn't seem to work.
Everything worked perfectly when I was still on the B3 patch.
Any help would be appreciated.
It's possible, every magic spell is reorganized so all the spells are put into one big procedure instead of dozens of small ones like in B2plus so it may be charm is bumping into the one after it.
For first aid you could apply patch v156 B2plus over it while I look for an issue at B4. This is exactly why I didn't just hide B4 for myself; public usually finds things I miss. Its also why I did not delete B2plus like I normally would.
I wanted to look at some issues that have been nuisances for months now and address them this week so after solving this and those I'll make a combined B5.
EDIT: I believe what you are seeing is a little different:
The charm person spell summons a throwing weapon "itm_charm_person", which needs to have damage set so that it can
a) penetrate shield. which won't happen if the damage done is too low AND
b) penetrate potentially heavy armor, else it can't "damage" the target AND
c) the charm 'payload' can only fire if the target actually takes damage.
d) also, the AI for the caster would normally skip what looked like the weakest weapon and prefer magic missile if the "damage" number were low. (But you're
right as well, we'll get to that shortly):
BUT, in the past, the actual damage was stripped off, possibly intentionally and possibly negligently, in as much as most of Guspav's spells were missing a line that delivers the initial damage along with their payload. All of his payload code did the job intended but he missed the line that also did the initial damage. When I moved this into one huge package I didn't put an
exemption for charm person to skip delivering the initial 'damage',
I'll do that for next time but I don't really think its serious enough to panic yet (meaning I won't take down B4 over an
oddity that isn't game killing). Probably next patch is
Friday-ish, as a "
B5".
EDIT2: trying it for myself I only do damage I didnt see any charms so I'll scratch it a bit more. Interesting.