Aller au contenu

Photo

Problems with BASE Strength


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

#1
Simon.Omega

Simon.Omega
  • Members
  • 70 messages
I am using the below code in a module for friends so they can freely ware Blood Dragon.
GetCreatureProperty( aMainCharacter, PROPERTY_ATTRIBUTE_STRENGTH );
SetCreatureProperty( aMainCharacter, PROPERTY_ATTRIBUTE_STRENGTH );
I thought this would be the BASE Strength but it seems to return and set STR when modifiers effect it. How do I get the straight value and not the value after modifier effects.

#2
Simon.Omega

Simon.Omega
  • Members
  • 70 messages
Probably a question for weriKK

#3
Simon.Omega

Simon.Omega
  • Members
  • 70 messages
float bdaMainCharSTR = GetCreatureAttribute( bdaMainCharacter, ATTRIBUTE_STR, PROPERTY_VALUE_BASE );



Awsome.

#4
Simon.Omega

Simon.Omega
  • Members
  • 70 messages
SetCreatureProperty( aMainCharacter, PROPERTY_ATTRIBUTE_STRENGTH, 38.0, PROPERTY_VALUE_BASE );



And there is a set on base.


#5
weriKK

weriKK
  • Members
  • 106 messages
I see you had a very fruitful conversation with yourself here :)

Modifié par weriKK, 14 novembre 2009 - 09:51 .


#6
Simon.Omega

Simon.Omega
  • Members
  • 70 messages

weriKK wrote...

I see you had a very fruitful conversation with yourself here :)


LOL yes I did. I was hoping it might help others some where along the lines if I blerted it out. :innocent:

I found the projects section of our profiles and up loaded a few things to test it out. One being the very mod spoken of here. :ph34r:

It now works with out breaking the character on a force load (with my module off) because if it is on and your respec module is performed on the main character... It blows up LOL. :whistle: