|
items
Aug 26, 2007 16:16:11 GMT -5
Post by breakdancebob on Aug 26, 2007 16:16:11 GMT -5
ok i made this item called raw beef. when yopu use the item it is supposed to raise str by 1 and def by 2. but when i tried it in test play, the item fails to do anything, instead of doing the success script, it kicks the fail script and text comes up saying "nothing happened". What am i doing wrong?
|
|
|
items
Aug 27, 2007 10:03:02 GMT -5
Post by Dungeon Warden on Aug 27, 2007 10:03:02 GMT -5
Did you alter an existing item that increases a stat or are you trying to do this from scratch? Item creation is a pretty tricky business since there are so many factors involved in doing it right. Several flags need to be checked for them to function and the right commands need to be used so that they work as expected.
If you used an existing item most of these things would be set up for you. Maybe try something like the healing herb. Copy and paste the system event and script that heals the character (should be called something like "Recover HP") and change it so that it adds Str and Def to the target. You'll probably need to search around and change some of the messages as well. Once you study what the preset items are doing, you should get better at making your own.
I can't answer your question directly since there are so many things that could go wrong based on how you created the item in the first place. At least with an preset item, you know it's working so you can see right away what happens when you change something.
|
|