I have this in my game also...


[ Follow Ups ] [ Post Followup ] [ Awesome Software Online Message Board ] [ FAQ ]

Posted by Spyder 63.64.160.157 using Mozilla/4.0 (compatible; MSIE 5.0; Windows 95; DigExt) on March 03, 2000 at 21:20:23:

In Reply to: Another question posted by kawari on March 03, 2000 at 19:32:11:

You have to make a program that 'rolls' the random number and puts it in a variable, like this

*Diablo Type Weapon Damage Program
*Written for Godiva: Alpha
*Designed for a 20-sided Die
#Random(20,wpn!) *Random number between 1 and 20
#Text(40,12,"YOU ROLLED A .") *puts wpn! on the screen
#GiveHP("target",-) *Hurts target (I'm pretty sure that will work)
#Delay(1)
#End()

Then in the Item editor, click to check battle driven then click edit. Click on the box next to 'Program to run when item is used'. Then select the program to run and press OK.




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Awesome Software Online Message Board ] [ FAQ ]