Aller au contenu

Photo

Hit Points on Level Up


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

#1
TSMDude

TSMDude
  • Members
  • 865 messages
I know there is the option to set it to Max HPs on Level Up but what I am wonderign is it possible to make it so ONLY Fighters get that benefit?

Is there a script that controls this that I do not know about? Is it lost in the Hidden Lands of Car Keys, lost washed left socks, and my beloved Detroit Lions winning ways?

Anyone know?

#2
Shadooow

Shadooow
  • Members
  • 4 470 messages
You can do it as we did it in past (except we used leto plugin).



Get NWNX, now funcs plugin and adjust their hitpoints at OnLevelUp or make some placeable/item which will do it on Used.



If NWNX is not possible, then only temporary hit points can be added (OnLevelUp+OnRest+all heal spells maybe), or you can tell players to ask for this at forum and then make it for them manually via Leto program.

#3
TheSpiritedLass

TheSpiritedLass
  • Members
  • 765 messages
Look on the bright side TSM, at least the Lions are not heading for another "perfect" season this year. ;)

I also wanted to do something silimiar with HP at level up. Except I wanted it to be dependant on an item in the player's inventory. Specifically spinach. Yes, I know... I'm goofy at times. The best non-NWNx solution I could come up with was to give the hit points temporarily like ShaDoOoW mentioned, then manually adjust them using the DM client. Far from a perfect solution, so it never got implemented.

#4
Khuzadrepa

Khuzadrepa
  • Members
  • 188 messages
You could possibly do this via the OnPlayerLevelUp event. You could check to see if it's a fighter level gained (maybe by keeping track of their current fighter level as a stored variable on an item) and do a reroll until max hps are gained. Not the best solution, but I think it could work. Then you wouldn't have to do anything externally or temporarily. This script might help give you ideas on how to do that...

http://nwvault.ign.c...s.Detail&id=917
 

Modifié par Khuzadrepa, 15 octobre 2010 - 02:31 .


#5
Pstemarie

Pstemarie
  • Members
  • 2 745 messages
The OPLU Event runs after the character has actually leveled up, so you couldn't actually modify the HP the character received. You could add them as temporary HP, but that kind of defeats the purpose. Therefore, you need to do what Shadow suggests...

#6
Shadooow

Shadooow
  • Members
  • 4 470 messages
hmm I think, that Khuzadrepa meant relevel until they gain max hp, ugly but could work really

#7
Pstemarie

Pstemarie
  • Members
  • 2 745 messages
Ugh, that would be ugly...

#8
Khuzadrepa

Khuzadrepa
  • Members
  • 188 messages

ShaDoOoW wrote...

hmm I think, that Khuzadrepa meant relevel until they gain max hp, ugly but could work really

This is what I meant.  Thank you for reading my mind ShaDoOoW! ;)

And yeah, not the prettiest option, but I thought it was worth mentioning in case for some reason others wouldn't work out.

Modifié par Khuzadrepa, 16 octobre 2010 - 12:38 .


#9
TSMDude

TSMDude
  • Members
  • 865 messages
Couple of questions then;



If I use Letoscript with NWNX does that not boot them from the server for a second to do it?



On the OPL I think that could work....but yes it would suck to make them relevel till they get it but might be the only true way besides Leto.

#10
Shadooow

Shadooow
  • Members
  • 4 470 messages

TSMDude wrote...

If I use Letoscript with NWNX does that not boot them from the server for a second to do it?

Yes, but there is new and better plugin called nwnx_funcs (can be found at vault) which can do almost everything, leto could do, without booting and much more. Definitely check it out on nwnx forum (in windows development).