Aller au contenu

Photo

Item Scrripting/AddItemProperty (Help please)


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

#1
KigenBarzhad

KigenBarzhad
  • Members
  • 132 messages
So I'm in need of some help, could anyone post some sample script for items?  I'd think I'd learn alot more if I saw some code that worked x.x


Basically what I want to do is create a new property (Increase Mana) since there really is only an Increase Stamina (I know they're basically the same.) And I guess I'm having trouble pointing to the right object with AddItemProperty.

#2
DarkJin83

DarkJin83
  • Members
  • 37 messages
What you want to do is increase willpower, because willpower is the stat that contributes to mana. As for creating a new property, that's a whole different ballgame, and way more complex.

#3
kilrex

kilrex
  • Members
  • 69 messages
deleted double post

Modifié par kilrex, 20 décembre 2009 - 02:05 .


#4
kilrex

kilrex
  • Members
  • 69 messages
Ok I apologize if this is a double post, it looks like my previous response didn't get posted.



Basically, +Stamina is sort of mislabeled. For warriors/rogues this itemproperty increases stamina, but if a mage equips the item, it increases Mana even though it still says +Stamina



The reason is that the game doesn't implement 2 seperate attributes for both mana and stamina. Instead it implements just a single attribute, and mostly just calls it Mana for mages but for rogues/warriors it calls it Stamina.

Underneath it all, it's all the same thing.