Jump to content

A few specific trolls are not dying properly after being knocked down and hit by fire/acid


Recommended Posts

Due to a script error, a few specific trolls occasionally can't be killed by small amounts of fire/acid after they've been knocked down. The reason for this is that their script is missing an action which is supposed to set their hit points to 1. For reference, that action is present in all the other troll scripts. Here's the fix:

 

// All trolls should have their hit points set to 1 after getting knocked down

COPY_EXISTING ~dgtrol02.bcs~ ~override~ // Druid Grove trolls that are fighting some adventurers
		   ~troll03.bcs~ ~override~ // small trolls which emerge out of a bigger one on the first floor of de'Arnise Keep
		  ~firamb05.bcs~ ~override~ // the troll fighting the werewolf captain in Firkraag's lair
DECOMPILE_BCS_TO_BAF
 REPLACE_TEXTUALLY EXACT_MATCH ~PlayDead(150)~ ~ApplySpell(Myself,TROLL_SETHP1) PlayDead(150)~
 REPLACE_TEXTUALLY EXACT_MATCH ~PlayDead(300)~ ~ApplySpell(Myself,TROLL_SETHP1) PlayDead(300)~
COMPILE_BAF_TO_BCS
BUT_ONLY_IF_IT_CHANGES

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...