ID:161527
Apr 26 2008, 5:52 pm
|
|
Ok, so I'm trying to set up some passive skills like, dodge and block which will mod the basic dodging and blocking. So my skills are object and I try to my var called currmin which tells your current percent of the skill, but everytime I try and use it in my damage formula it doesn't work...
|
Apr 26 2008, 6:29 pm
|
|
Yeah dude, I'm currently making a game that has passive skills. But I have no where to start. I was thinking, everytime a passive skill's level increases. Save the value of the bonuses you give in variables. So when you reset skills, you can just take the value you have with the saved variable. I took this idea from Ragnarok.
|
In response to Sentoku Uura
|
|
Well if you post your code it will be easier to help you.
|
In response to Subzero1
|
|
Subzero1 wrote:
Well if you post your code it will be easier to help you.If I had a code I would have posted it.... |
In response to Lundex
|
|
How could something possibly "not work" if it doesn't exist?
|
In response to Garthor
|
|
Basically I set it up like this....I know it won't be any good but here's my example...
techs |
In response to Lundex
|
|
Did you ever define O?
|
In response to Garthor
|
|
Yes, it still didn't work....I defined it as var/techs/attacks
and just obj/O, but neither of them work.. |
In response to Lundex
|
|
var/tech/attacks/whatever = locate() in attacks |
In response to Garthor
|
|
um.. did you try round(src.attack*blah blah)
|
In response to Generation
|
|
That is the wrong answer.
|