tapahob / BG2RadarOverlay

An overlay program for Baldurs Gate EE (1, 2) showing nearest enemies, their resistances, buffs and its durations
MIT License
25 stars 3 forks source link

On hit effects #22

Closed gatperdut closed 2 years ago

gatperdut commented 2 years ago

I am not too sure about this.

Somehow I ended up having to look in 2 places:

One of them you already did, just needed to be shown. It's the Effect.Item_Set_Melee_Effect and Effect.Item_Set_Ranged_Effect in BGEntity.

The other needs to go through the items and parse its effects, abilities, and the effects of the abilities. Which is weird, because I would think the previous step takes care of that.

In any case I wouldn't merge. Some stuff that doesn't make sense or is incomplete is showing up.

But maybe you can take a look and tell me what you think?

tapahob commented 2 years ago

I'll have a look in the evening

tapahob commented 2 years ago

We can't leave it like this: image There should be some filtering / proper human readable interpretations. What I do - I just omit the less significant (or the ones I have no idea what they do), and for the other ones I have human-readable substitutions.

tapahob commented 2 years ago

I've also checked Balor: image it seems like the save type is incorrect - (it says its spell when it should be death)

gatperdut commented 2 years ago

Yes I agree. I think i'll leave the branch as is, that was as far as my knowledge would get me, in case someone figures it out

tapahob commented 2 years ago

Yes I agree. I think i'll leave the branch as is, that was as far as my knowledge would get me, in case someone figures it out

But you did so much already - I'll see what I can get off of it

tapahob commented 2 years ago

Guess whaaat? :) 1nhIzTAt2O

gatperdut commented 2 years ago

Yes I agree. I think i'll leave the branch as is, that was as far as my knowledge would get me, in case someone figures it out

But you did so much already - I'll see what I can get off of it

Yes, but I was seriously struggling by the end of it :joy: very uncertain about what I was doing.

Thank you for taking a look. I'll fire it up in a bit, but it looks awesome!

gatperdut commented 2 years ago

Guess whaaat? :) 1nhIzTAt2O

:heart_eyes:

tapahob commented 2 years ago

Just pushed another fix - this one should be rock-solid

gatperdut commented 2 years ago

😍 I definitely couldn't have even dreamed about doing this on my own.

Have played with it for an hour or two and haven't noticed anything weird except for a couple of very specific instances. ettercapresource amelia

gatperdut commented 2 years ago

Another one: bentley

tapahob commented 2 years ago

Another one: bentley Thanks for the reports!
Can you check what this dagger is exactly? The only way it can be spell -1 when both its spell names are -1, I believe.

Also, if you could please pay attention to the saving throw types of weapon onhit effects. I was checking it against Corsomyr, Silver sword (planetar's) and Balor's skull - Got the death save and no save right (hopefully), but the other types still require checking

gatperdut commented 2 years ago

Ah yes, I should have mentioned the excellent dagger - that's from the SCS component that transforms many +1 weapons into "fine" ones. So it's looking good there.

I'll keep an eye on mismatched info regarding saving throws types/penalties :+1:

tapahob commented 2 years ago

Ah yes, I should have mentioned the excellent dagger - that's from the SCS component that transforms many +1 weapons into "fine" ones. So it's looking good there.

I'll keep an eye on mismatched info regarding saving throws types/penalties 👍

Pretty sure excellent daggers don't have any "cast spell" effects on them, so its very suspicious. I was thinking if I should omit the "use type" abilities from the items (like aoe dispell on Corsomyr) as technically they aren't "on-hit" effects

gatperdut commented 2 years ago

About the excellent/fine weapons: agreed. I thought it might have been some shenanigan introduced by SCS but I can't seem to find any reference to it in NearInfinity.

The AoE dispell and similar are good candidates to be omitted if problematic, I think - it's pretty obvious that a green ball of magic is coming toward you, so the feedback is there ("Dispel effects" in the log).

When it comes to on-hit effects, for me the greatest offender was Berena Elkan. She's normally a wizard slayer, so she applies spell failure. But in Ascension she gets Spellstrike (!) + Breach on every hit.

tapahob commented 2 years ago

About the excellent/fine weapons: agreed. I thought it might have been some shenanigan introduced by SCS but I can't seem to find any reference to it in NearInfinity.

The AoE dispell and similar are good candidates to be omitted if problematic, I think - it's pretty obvious that a green ball of magic is coming toward you, so the feedback is there ("Dispel effects" in the log).

When it comes to on-hit effects, for me the greatest offender was Berena Elkan. She's normally a wizard slayer, so she applies spell failure. But in Ascension she gets Spellstrike (!) + Breach on every hit.

Oh Im excited to see how radar would react to her

gatperdut commented 2 years ago

I checked yesterday, and I'm like 80.33% sure it displayed all 3 effects (spell failure, spellstrike, breach), but I can't remember the exact description it showed. I'll get a screenshot later.

gatperdut commented 2 years ago

Here are some findings:

Hakeashars look awesome: hakeashar

And so does the Mace of Disruption, both the save type and the penalty are correct. macedisrupt

Berena is almost right: berenaelkan

I believe Mindflayers might be missing the int drain, but it's odd - I'm almost sure I saw it at some point! mindflayer

In a Frost Salamader I noticed again the "cast spell at creature: -1" bit. In this case I'm almost sure after digging in NI a bit that it's the aura, the SPL it references has an effect for cold damage. frostsalamander

I also went looking for the sword Gram. I am not quite sure what is going on, I took a pic of both the inventory description and the listed effects. gramswordgrief

Oh and dragons show the wing buffet ability :D

Edit: I also ran into a crash whenever I tried to examine Demogorgon

tapahob commented 2 years ago

I have omited the On-hit damage effects, thought its too boring to know about

tapahob commented 2 years ago

Could you please check it with the latest release?

And lets create a new issue for that

gatperdut commented 2 years ago

Can't wait to try!

I'll port the stuff from above in this issue to the new issue if necessary, and add any other findings.

tapahob commented 2 years ago

I've just pushed an update for the on-hit protection removals, could you please check it? I don't have ascention installed so can't really test - if its fine I'll update the release

gatperdut commented 2 years ago

yap, will do!