Page 1 of 1
Question of the gameEffect= line
Posted: Sat Sep 22, 2012 5:40 pm
by Neikun
Using the line
Code: Select all
gameEffect = "15% faster cooldown",
How does it know what I'm talking about?
As far as I can tell from the asset definition page, and the item.lua file of the original item, there's nothing hinting how it effects the cooldown rate.
It would appear that the line is only for the player to understand what the item does.
My question is how do I make the editor understand what effect I want the item to have?
Re: Question of the gameEffect= line
Posted: Sat Sep 22, 2012 6:25 pm
by Shloogorgh
I would love to know how to do this as well.
As far as the game effect line, I think it uses that descriptor when you look at the item in your inventory
Re: Question of the gameEffect= line
Posted: Sat Sep 22, 2012 6:57 pm
by antti
Yeah, that's just a textual description. The actual functionality in this case, I believe, is hardcoded for this specific asset.
For implementing the effects of the items, you have the parameters you can use (like evasion, stat bonuses and so on) as well as the scripting hooks.
Re: Question of the gameEffect= line
Posted: Sat Sep 22, 2012 6:59 pm
by Neikun
Aww man. But I wanted a different rate of all action cooldown.
Is this also why clone magic_orbs don't radiate light?
Re: Question of the gameEffect= line
Posted: Sat Sep 22, 2012 7:06 pm
by antti
Neikun wrote:Is this also why clone magic_orbs don't radiate light?
Yes.
Re: Question of the gameEffect= line
Posted: Sat Sep 22, 2012 7:08 pm
by Neikun
Now if I could just figure out who had that problem earlier...
Edit: Found it. It was Montis.
Re: Question of the gameEffect= line
Posted: Sat Sep 22, 2012 8:56 pm
by Montis
Neikun wrote:Now if I could just figure out who had that problem earlier...
Edit: Found it. It was Montis.
Yes, yours truly