Aller au contenu

Photo

Where do I find character's attack ratings to adjust?


  • Veuillez vous connecter pour répondre
1 réponse à ce sujet

#1
Velz

Velz
  • Members
  • 70 messages
can anyone point me to the values?

#2
Talian Kross

Talian Kross
  • Members
  • 239 messages
GetCreatureProperty()
SetCreatureProperty()

Use the script help to get an idea.  The property constants you can get/set are defined in 2da_constants_h.nss (for the most part).  (Edit: Or look at the "PROPERTY" related links on this Wiki page.)

For example:


SetCreatureProperty( GetHero(),PROPERTY_ATTRIBUTE_DAMAGE_BONUS, 10.0, PROPERTY_VALUE_MODIFIER );

Modifié par Talian Kross, 20 novembre 2009 - 07:43 .