RedChimera / IWD2EE

This is the most recent semiOverhaul mod, containing most of the rebalancing components and a few other tweaks.
154 stars 8 forks source link

Bribing Limha #10

Open semiticgod opened 6 years ago

semiticgod commented 6 years ago

The Limha encounter needs to be revised. Limha must have a MINHP1.itm and a script that sets "LimhaLowHP" to 1 and initiatives dialogue when she is at low health. Her dialogue needs a command to make her flee the area if she is spared or bribe. It also needs a command to allow the player to report success to Venla the healer once Limha teleports away (killing her should already do this successfully). Sparing Limha should let the player take her items.

semiticgod commented 6 years ago

Limha is 50LIMHA inside her hut, which is AR5002. Outside the hut, she is 50LIMHA2, in AR5001. Her dialog is 50LIMHA.d. When she is at low HP, her script must set the global variable LimhaLowHP to 1 and initiate dialog, which should start her at BEGIN LimhaLowHP. I think that that BEGIN line will need to set the variable 50Venla_Children to 1 and the variable Limha_Dead to 1 as well. That BEGIN line leads to BEGIN 26, which gives the player the option of letting her flee. That line needs a command to let her teleport away.

The bribe option is at BEGIN 31 and BEGIN 36. Those two BEGIN lines must have her teleport away as well as set 50Venla_Children and Limha_Dead to 1.

The kill option, where she betrays the player, is at BEGIN 25. I think the Kill commands should already be functional.

Limha has numerous allies in the outside fight but I do not think they need to leave the map if the player shows mercy to Limha and lets her teleport away; the trolls would remain and keep fighting.