Skip to content

#16272 Deva's should detect when a character is diseased

denoflionsxdenoflionsx Member Posts: 1
edited August 2015 in BGII:EE Bugs (v1.3.2064)
I've been writing my own AI scripts for BG1/2 EE, and I've noticed that using the following conditions work in BG1, but not BG2 for detecting poison and disease debuffs.

StateCheck(Myself, STATE_POISONED)
StateCheck(Myself, STATE_DISEASED)

Everything else about my script works flawlessly in both games, so I'm feeling like this state is just broken in the second game.
Post edited by Gate70 on

Comments

  • Gate70Gate70 Member, Developer Posts: 3,871
    Hi
    It looks like this is the same as for the original games.

    I have raised ticket 16272 for disease, based on a Deva not detecting it. My assumption is that any fix for that script could be used for custom scripts.

    When testing the poisoned state, the Deva was able to detect it so I'm not sure why your script doesn't work. Is it possible that the poison disrupted the action - could you try on a party member instead of yourself - this is what the Deva does.
    StateCheck(LastSeenBy(Myself),STATE_POISONED)
Sign In or Register to comment.