temnix Posted August 14, 2019 Share Posted August 14, 2019 I'm looking for a way to prevent NPC from turning hostile when damaged by a friendly. Looking for suggestions. I've used Feeblemind before to temporarily block scripts, but it isn't working with the NPC I'm testing with (Tenya). She turns red as soon as Feeblemind wears off. I need to be able to do a point of damage to people without turning them into enemies. It's possible to use invisible minions for this, because they can be neutral and damage from them doesn't provoke hostility, but it's problematic. Quote Link to comment
Ardanis Posted August 24, 2019 Share Posted August 24, 2019 The AttackedBy()/HitBy() positives get stored by the recipients, so you'll probably have no choice but to update their scripts with something like this to dismiss a positive IF AttackedBy() // attacked by friendly Global("dont_red","locals",1) // set by your effect THEN RESPONSE #100 SetGlobal("dont_red","locals",0) END Getting a list of scripts might be tedious, though. Quote Link to comment
temnix Posted August 28, 2019 Author Share Posted August 28, 2019 I don't think this is practical. I ended up making the creature hurt itself instead - put a bouncing spell chain on it, with the final spell to cast back Self targeted with damage. Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.