Author Topic: Lay on hands on races  (Read 164 times)

Offline ArmorNox (Funky Dynamite)

  • Jr. Member
  • **
  • Posts: 72
Lay on hands on races
« on: February 05, 2018, 01:29:12 AM »
Would it be possible to give a Paladin's Lay on Hands to a race?
"Where does he get those -wonderful- toys?!"
"Why, I sell my soul, of course...."

Offline manikus

  • Skriptor
  • Administrator
  • Hero Member
  • *****
  • Posts: 9968
Re: Lay on hands on races
« Reply #1 on: February 05, 2018, 03:57:37 PM »
Sure. :)

The ability is doneas a Special Ability, which could be given to a race instead of a class.

Offline ArmorNox (Funky Dynamite)

  • Jr. Member
  • **
  • Posts: 72
Re: Lay on hands on races
« Reply #2 on: February 05, 2018, 04:24:52 PM »
can i tuck it into a race_ SA?
"Where does he get those -wonderful- toys?!"
"Why, I sell my soul, of course...."

Offline manikus

  • Skriptor
  • Administrator
  • Hero Member
  • *****
  • Posts: 9968
Re: Lay on hands on races
« Reply #3 on: February 05, 2018, 05:05:49 PM »
can i tuck it into a race_ SA?

Nope. :)

The hooks that make this ability work have character and class contets. You would need to do it in two steps - create a race SA that at time of character creation gives the second SA to the character.

Offline ArmorNox (Funky Dynamite)

  • Jr. Member
  • **
  • Posts: 72
Re: Lay on hands on races
« Reply #4 on: February 05, 2018, 05:34:21 PM »
Nod.  Understood.
Gotta go with my Plan B, then.  Probably best anyway, because what I'm thinking is likely the only way to do what I'm aiming for, something else related to this.
But what about making  a race Resistant, to say, fire...?
"Where does he get those -wonderful- toys?!"
"Why, I sell my soul, of course...."

Offline manikus

  • Skriptor
  • Administrator
  • Hero Member
  • *****
  • Posts: 9968
Re: Lay on hands on races
« Reply #5 on: February 05, 2018, 06:10:02 PM »
Nod.  Understood.
Gotta go with my Plan B, then.  Probably best anyway, because what I'm thinking is likely the only way to do what I'm aiming for, something else related to this.
But what about making  a race Resistant, to say, fire...?

There are so many ways this can be done. ;) It greatly depends on the Hook you use - look at the scripts in the special abilities database and look at this page:
http://www.dianneandpaul.net/UAF/Help/SASpecialAbilitiesScripts.html

Offline Paul R. Stevens

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2271
Re: Lay on hands on races
« Reply #6 on: February 05, 2018, 10:39:40 PM »
Quote from: Manikus
The hooks that make this ability work have character and class contets

'Contexts', not 'contets'.

This is true. See:
http://dianneandpaul.net/UAF/Help/SACanLayOrWhatever.html

But that is confusing the issue, I think.  The problem is that the
engine only searches the Character and his Class for this Hook.

Instead of performing heroic hacks (HH), you should simply ask that
the engine also search the Character's Race for this Hook.  Additional
searches are quite easy to implement.

And, off topic perhaps, is the fact that it is rather simple to add
additional contexts to a Hook.

Background Material:
It seems that Manikus has never quite completely grasped the notion of
'Context'.   'Context' is what a Hook can see.  Think of being put into a room
to make some decision.  Your 'Context' is what is in the room with you.
That Context might be a book describing a particular Spell that is about
to be cast.  That Context might be the dossier of a particular Character
about to be 'VIEWED' by the player.  The description of each Hook
carefully defines what 'Contexts' exist at the time the Hook is executed.
These 'Contexts' are easily referenced by the code in the Hook.  For example,
the 'Character Context' makes it easy for the Hook to examine the attributes
of a particular Character, usually the Character of particular interest at
the time the Hook is executed.  The Hook is free to examine other Character's
attributes but it will be a bit more indirect and difficult.  Usually only one
Character will be of interest; the one casting a spell or about to swing his
sword or being VIEWED by the player or etc.

AND  ---  IMPORTANTLY ---  The search order for a Hook is entirely independent
of the Context in which that Hook runs.  They commonly overlap and perhaps
that is what causes so much confusion (as evidenced by Manikus' reply).
« Last Edit: February 06, 2018, 01:17:35 AM by Paul R. Stevens »

Offline manikus

  • Skriptor
  • Administrator
  • Hero Member
  • *****
  • Posts: 9968
Re: Lay on hands on races
« Reply #7 on: February 06, 2018, 12:59:04 PM »
I do actually understand the difference between Contexts and Search Order. In this case, I was looking at the SAs and did mean Contexts, but am also aware that Context is irrelevant if the SA is not searched. ;)

What I was doing was minimally explaining, because I feel that while I was being asked "how dow you..." but what was meant was "will you do this for me..."

Also, I have not asked for Search Order or Context to be changed for these Hooks, because I have not needed them to be changed. :D