Skip to content
Permalink
a2f0c8ace2
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
40 lines (26 sloc) 582 Bytes
using UnityEngine;
using System.Collections;
public class enemy : MonoBehaviour {
public string username = "Scripter";
public int level;
public int HP;
public int STR;
public double MinATK;
public double MaxATK;
// Use this for initialization
void Start () {
username = "Scripter";
print (username);
STR = Random.Range (1, 30);
print (STR);
MinATK = STR * 0.3;
print (MinATK);
MaxATK = STR * 0.6;
print (MaxATK);
HP = Random.Range (STR * 5, STR * 25);
print (HP);
}
// Update is called once per frame
void Update () {
}
}