PDA

View Full Version : Life Link and We need an effect added or modified



msbranin
May 6th, 2020, 05:42
So mystic have and ability called Life Link

At the start of each turn, you can choose an ally within 30 feet who has taken Hit Point damage and transfer her wounds to yourself, dealing an amount of damage up to your mystic level to your Hit Points (bypassing any Stamina Points you may have) and healing the ally's Hit Points an equal amount. This doesn't require any action on your part. You can't prevent or reduce the damage you take from lifelink.

I have coded most of it here
34943

Here is the code for each step
34944

Everything work except the damage.. The damage is supposed to be directly to Health, but it is taking from stamina first. We need a way to Determine exactly which pool to pull from just like we have a way to determine which pool to add to. If I am doing this wrong please let me know.

deer_buster
May 6th, 2020, 14:18
As far as I can tell looking at the code there is nothing that allows you to ONLY damage HP. You'd need an extension author to do something or a feature request

msbranin
May 6th, 2020, 18:03
Ok I will add somerhing to the feature request thread.. currently I am modifying the mystics health manually.