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.
Item Scrripting/AddItemProperty (Help please)
Débuté par
KigenBarzhad
, déc. 17 2009 05:00
#1
Posté 17 décembre 2009 - 05:00
#2
Posté 17 décembre 2009 - 09:37
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
Posté 20 décembre 2009 - 02:00
deleted double post
Modifié par kilrex, 20 décembre 2009 - 02:05 .
#4
Posté 20 décembre 2009 - 02:04
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.
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.





Retour en haut






