Feature #40172

New Opcode: Ability Drain

Added by Gabryel Souza 5 months ago.

Status:NewStart date:02/14/2019
Classification:Public ItemDue date:
Assignee:-% Done:


Target version:-
Found In Version:Public Bug Reports - Next Update



Right now, abilities drain is handled using the same Opcode that increases the attributes.

The problem: by PnP, there should exist several ways to prevent ability score draining from, let's say a shadow. And many creatures should be immune to it. None of those can be properly translated to IE because blocking the ability drain also blocks the ability buff. So the same effect that protects against the shadow attack also blocks Champion's Strength.

The solution:

Opcode X

P1: Ability (0 - All, 1 - Str, 2 - Dex, 3 - Con, 4 - Int, 5 - Wis, 6 - Cha)

P2: Value (this Opcode accepts positives values only)

Special: (0 - Only Drain, 1 - Drain to Caster).

Now a shadow attack can be blocked through Opcode 101 using parameter X.

Undead may have their scores preserved through Opcode 324.

Discussion here: https://forums.beamdog.com/discussion/comment/1048297#Comment_1048297

Also available in: Atom PDF