Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

My heros don't want to learn spells.

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
The Wobbler




Joined: 06 Feb 2003
Posts: 2221

PostPosted: Mon Jun 13, 2005 4:58 pm    Post subject: My heros don't want to learn spells. Reply with quote

Note from Castle Paradox Administration:
This content has been removed by the user. Contact the original author and link them to this post if you wish to view the original content. Only the author can remove the tags hiding this content.
Back to top
View user's profile Send private message
Mike Caron
Technomancer




Joined: 26 Jul 2003
Posts: 889
Location: Why do you keep asking?

PostPosted: Mon Jun 13, 2005 6:03 pm    Post subject: Reply with quote

Ah, here's your problem:

Pick hero() returns the rank in the caterpillar, as does find hero(). Therefore, you don't need the find hero() calls, as you already have the hero!

The good version is:

Code:
script, teach heal, begin
variable(w)
set variable (w,pick hero)
wait(1)

teach spell (w,7)
set hero stat (w,2,(get hero stat(w,2)--25))
set hero stat (w,6,(get hero stat(w,6)+20))

wait(1)
show text box(9)
wait for text box

end

_________________
I stand corrected. No rivers ran blood today. At least, none that were caused by us.

Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
The Wobbler




Joined: 06 Feb 2003
Posts: 2221

PostPosted: Mon Jun 13, 2005 6:45 pm    Post subject: Reply with quote

Note from Castle Paradox Administration:
This content has been removed by the user. Contact the original author and link them to this post if you wish to view the original content. Only the author can remove the tags hiding this content.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group