Aller au contenu

Photo

Lay on Hands - Paladin Spell


  • Veuillez vous connecter pour répondre
16 réponses à ce sujet

#1
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

Hello, everybody!

 

I would like to know if it's possible up to three times of use the paladin spell Lay On Hands Heal per Rest.

 

I think this class should have more cures/heals. OK?



#2
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

If isn't possible do it, can we recovery the spell use of lay on hands after a time in seconds and if sleep cancel this integer?



#3
MagicalMaster

MagicalMaster
  • Members
  • 2 003 messages

Either is possible.  Extremely easy to give it three uses through 2da edits, but if you want to avoid that it's still doable.

 

Basically, whenever you finish resting you'd delete the integer called "layonhandsuses" and then whenever you use the spell you increment the uses of Lay on Hands if "layonhandsuses" is less than 2 and then increment "layonhandsuses."  Would need to store the integer on an item the player possesses that they can't drop, ideally, so it's not reset if the player logs out.

 

Alternatively, you could set "layonhandsuses" to 2 and then increment Lay on Hands if it's greater than 0 which avoids the problem of it resetting if a player logs out -- but it does mean the player would then LOSE all uses if they get disconnected.  So either way you'd want to store the data on a player item.


  • WhiteTiger aime ceci

#4
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

OK, only need a way to restore spell uses.

 

"Extremely easy to give it three uses through 2da edits"

 

And what about 2da? How to? 

 

I'm very intersted...



#5
Pstemarie

Pstemarie
  • Members
  • 2 745 messages

2da changes require a hak or override. Also, lay on hands is actually implemented as a feat, not a spell. The feat just references spells.2da to get the information for the spell-like effects. The HCR 2.0 has a system for modifying feat recharge via resting. You should look at how they did it. 


  • WhiteTiger aime ceci

#6
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

"2da changes require a hak or override" to override changes works is necessary stay installed only on dedicated server or to all client players?



#7
henesua

henesua
  • Members
  • 3 878 messages

i think if you edit feats.2da and put it in the server's override it should work


  • WhiteTiger aime ceci

#8
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

Wow! That good to know. And How to edit this? would be great if someone could explain with thanks

 

Something useful that I did using "2da" was to merge Druid and Transformation items. (with the help of shadooow)



#9
MagicalMaster

MagicalMaster
  • Members
  • 2 003 messages

As mentioned, Lay on Hands is considered a Feat so incrementing the uses is very easy.

 

If you go the 2da route, you'd simply find the row in feats.2da that corresponds to Lay on Hands, find the column that defines uses per day, and change it from 1 to 3.  Then done.  No scripting needed.  Would still need to put the edited feats.2da in override or possibly the players would need to have it, I'm not sure on that.


  • WhiteTiger aime ceci

#10
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

OK. Where is Feats.2da?



#11
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

I downloaded nwnexplorer and find feat.2da

 

this line

299        LayOnHands                 1392    6089          ife_layon         ****             ****     ****     ****     ****     ****          ****          ****          0              0              0                  7          1       313       ****        0.5       1            ****         ****         ****         ****         ****         ****         ****         ****       FEAT_LAY_ON_HANDS                             6                 ****          

After 0.5, we change value 1 for how much uses we want per rest to spell Lay on Hands.

 

so save file and put on dedicated server override. 

 

Credits:

 

http://www.neverwint...lorerreborn.htm

 

http://social.biowar...-17504431-1.html



#12
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

I'm having a trouble with add feat.2da to ded.server override folder.

 

On Character Selection - Login:

 

"Invalid character - player login refused.

Character has an invalid feat."

 

note: all characters classes  are unable to login and not only paladin

 

feat.2da (with or without changes) on dedicated server override folder are blocking to enter in game ):



#13
Shadooow

Shadooow
  • Members
  • 4 470 messages

Oh, one thing. You will find all current 2DAs in the "builders resources" folder that comes with the community patch. Thats exactly its purpose as you aske me about it earlier. If you exported the 2DA via nwnexplorer there is a big chance its the vanilla version without all of the fixes from CPP, unless you extracted it from the patch171.bif file in it (its a bit hidden in the HotU Patch Datas).


  • WhiteTiger aime ceci

#14
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

Oh, one thing. You will find all current 2DAs in the "builders resources" folder that comes with the community patch. Thats exactly its purpose as you aske me about it earlier. If you exported the 2DA via nwnexplorer there is a big chance its the vanilla version without all of the fixes from CPP, unless you extracted it from the patch171.bif file in it (its a bit hidden in the HotU Patch Datas).

 

Good job, Shadow!

 

No more errors on login.

 

1.71 community patch dl

http://social.biowar...t_file_id=15871

 

find feat.2da in "1.71 builder resources\1.71 full 2dasource" and change line 299 uses per day and it's work without errors on login.



#15
Shadooow

Shadooow
  • Members
  • 4 470 messages

huh thats strange, I didnt thought it will fix the login error issue, maybe you messed up the edit for the first time? could you send me the 2da file you get that error with?



#16
WhiteTiger

WhiteTiger
  • Members
  • 479 messages

Yeah, changing to patch 1.71 feat.2da fixed the error issue on login.

 

OK, I have uploaded the problematic 2da in this link: http://nwn-amnesia.h.../files/feat.2da



#17
Shadooow

Shadooow
  • Members
  • 4 470 messages

Ya, thats what I thought. You exported the 2da from the bad location - this version is outdated as hell and missing expansion feats -> thats why you wasnt able to login. Another reason why is good to download 2das in a "full" package rather than exporting each of them manually. In case of CPP they are already included in the package, in case of vanilla you could download them from vault.


  • WhiteTiger aime ceci