Space Colonizers:Skills File

From Grifkuba General Wiki
Jump to navigation Jump to search
/**************************************
 *                                    *
 *          skills                    *
 *                                    *
 *    contains the skill class	      *
 *      fields and functions          *
 **************************************/

class skills
{
	/***********************
	 * Name: skills
	 * Purpose: contains details on each skills
	 * Fields:
	 *  int - id of the skill
	 * Functions:
	 *	base_attack() - determines base_attack of the skill
	 * Other Details:
	 *  
	 ***********************/
	

	/* fields */
	int id;
	
	
	/* functions */
	/* heal() -> use global.heal(); */

	
	/*
	 * Name: base_attack 
	 * Purpose: determines base_attack of the skill
	 * Input:
		** int, int - min and max values for the base power
		** 
	 * Output:
		** int - final value
		**
	 * Sample:
		** 
	 * Other Details:
	 */
	 
	base_attack(int min, int max)
	{
		return rand(min,max);
	}
	
}