hi
in a nutshell, want to be able to overcome ability-drain immunity programmatically on an as-needed basis.
i need to handle some situations where a pc's stats would need to be decreased, but not because of the typical negative energy-related ability drains. for this reason, these ability drains shouldn't be blocked by the likes of bone rings, negative energy protection spells, etc. at the same time, i'd like to continue providing players w/the possibility of protecting their characters against ability drain due to negative energy.
one way i thought i could do this would be to create a new immunity type w/a different index than the ability drain immunity, but give it the same label, and allow only these new items in-game. then i could modify the scripts that apply negative energy-based ability drain to check for the presence of this property first, and apply ability drains programmatically. obviously this is a little tedious.
anyone have a clever way of doing this ?
thanks





Retour en haut






