ID:161723
Apr 7 2008, 11:02 am
|
|
So, I have a list of physical attacks for the combat system, but I want to add more attacks, under special conditions like you use a "special" skill and it adds it to the list. And then checks to see if the skill is in the list.
|
In response to RanEsu
|
|
RanEsu wrote:
well you should probably use if > mob No more like, you use a skill called "power-up" and it gives you the skill "super attack" by adding it to the list of your skills, but if it doesn't fit the right conditions then it is never added to the list. |
In response to Lundex
|
|
ok then try this
mob |
In response to RanEsu
|
|
Yep, thats what I was looking for thanks..
|
In response to Lundex
|
|
forgot about somthing
mob |
In response to RanEsu
|
|
Just to say the least - make sure you don't use new() on verbs.
Though that code shouldn't be used anyway and be only an example (and quite a bad one unfortunately). |
like if they have to have unher 10 hp left to use then it would be like this
then you can also add other conditions
just depends on how many conditions you want (you do have to
have the vars in the game or dream maker gets mad @ u :P