Combat Medic Archive
Thread: Realistic idea for fixing enhancer healing self problem?
Page 1 of 1
Quandry
Tue Aug 23, 2005 9:24 pm
#1
You should never get an invalid target to heal. You know what your targeting i hope and you know if you can heal it or not. Make any invalid target default to self before the "Invalid target" is triggered.
If it is easyer for the devs make this default for everything...As for combat actions you cant default shoot yourself.
I think this could be a rather quick fix honestly but im no programer.
The one initial bug i can think of is when trying to heal a greater overt faction member or a member of the opposate faction it would default heal yourself rather than give the error message. There is a diffrent check for faction status i think they can still make that work in some way as to let you know you cant heal them.
If i had to pick a bug i would rather acidently heal myself when trying to heal an opposite faction member than not be able to use enhancers on myself in combat.
What do ya think..
If it is easyer for the devs make this default for everything...As for combat actions you cant default shoot yourself.
I think this could be a rather quick fix honestly but im no programer.
The one initial bug i can think of is when trying to heal a greater overt faction member or a member of the opposate faction it would default heal yourself rather than give the error message. There is a diffrent check for faction status i think they can still make that work in some way as to let you know you cant heal them.
If i had to pick a bug i would rather acidently heal myself when trying to heal an opposite faction member than not be able to use enhancers on myself in combat.
What do ya think..
Hoboken
Tue Aug 23, 2005 10:15 pm
#2
You wouldnt need to make it the default action. Some quick and dirty pseudo-code would be
If on heal target = "invalid target";
then healdamageself AND sysdisplay "you tried to heal an invalid taget";
else healdamagetarget;
this would then run through the heal routines so you couldnt for instance, heal yourself so you are over 100% health. But as far as everything else, the only thing you would stand to loose is the mind cost of the heal. You would as well still be notified of the invalid target and would solve the whole invalid target issues.
If on heal target = "invalid target";
then healdamageself AND sysdisplay "you tried to heal an invalid taget";
else healdamagetarget;
this would then run through the heal routines so you couldnt for instance, heal yourself so you are over 100% health. But as far as everything else, the only thing you would stand to loose is the mind cost of the heal. You would as well still be notified of the invalid target and would solve the whole invalid target issues.
Page 1 of 1