Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
Posted: Mon Jun 13, 2005 6:03 pm Post subject: |
|
|
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 |
|