Code:
mob/verb |
Problem description:
This is all i can come up with i know its horrible but it shows no errors,thanks for any help.
ID:141086
Jun 23 2009, 7:31 pm
|
||
Im trying to making it when you level you get a verb where you get a boost for a certain amount of time and when your mp is gone you revert.Also my mp won't decrease.
Code:
Problem description: This is all i can come up with i know its horrible but it shows no errors,thanks for any help. | ||
#2 Jun 24 2009, 3:07 am
|
||
I think you'll find that it is decreasing, however not continuously. You need to place it in a loop. For example, while():
Please don't use that, as it is lousy and will not work, only causing you to pull your hair out. Well: While usr.Level is 2, it will loop through that code continuously. However, it would be a good idea to include a Break somewhere. As I said: this is code will NOT work. | ||
Prime example of "Ooh, code! Wait, it doesn't work!"
How about you read the rest of his post after the only part you read.
Don't use this code. If you do, I will call you a banana. | ||
#5 Jun 24 2009, 9:55 pm
|
|
Is that an indentation typo from copy/pasting on "if(usr.MP<0)"? Or is it like that in the actual code.
Edit: Never mind, Morialis said it. | |
Demon_F0rce wrote:
Please don't use that, as it is lousy and will not work, only causing you to pull your hair out. _>. That is all I have to say, >_>. | |
Demon_F0rce wrote:
Please don't use that, as it is lousy and will not work, only causing you to pull your hair out.Kaiochao wrote: Prime example of "Ooh, code! Wait, it doesn't work!" Man, wish they would legalize assault on people when they do that, eh? Or at least ban them from the forums. :D Since people like that just copy anything, maybe they deserve someone to give them some code with fdel() looped or something that gets rid of their ripped source. Wonder if they'd still copy code afterward? ;) We could release a "cool Naruto gaem" library like that, but that'd be too cruel. Still, "Ripped Source Destroyer 2000" is a fun project name. | |
also try adding things like
usr << "Testing 1"in the code to see if it ever even reaches that line of code, and if it doesn't but should find out why, possibly even adding this instead as example for more helpful info.