Skip to content
Snippets Groups Projects
Commit 324f7c19 authored by Ryan Hoppe (rmh898)'s avatar Ryan Hoppe (rmh898)
Browse files

Proposed weapon stats thrown into the arena controller script

parent c2bd2a1d
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@ public class ArenaCombatControl : MonoBehaviour {
weapons[currentWeapon].attackSpeed = 1f;
Player = GetComponent<Rigidbody2D>();
myAnimator = GetComponent<Animator>(); //required for animation *******
SetWeaponStats();
}
// Update is called once per frame
......@@ -117,4 +118,36 @@ public class ArenaCombatControl : MonoBehaviour {
}
}
}
}
//a few proposed weapon stats
private void SetWeaponStats()
{
weapons[1].damageMin = 1;
weapons[1].damageMax = 5;
weapons[1].attackSpeed = 1;
weapons[2].damageMin = 2;
weapons[2].damageMax = 5;
weapons[2].attackSpeed = 2;
weapons[3].damageMin = 3;
weapons[3].damageMax = 6;
weapons[3].attackSpeed = 2;
weapons[4].damageMin = 3;
weapons[4].damageMax = 4;
weapons[4].attackSpeed = 4;
weapons[5].damageMin = 6;
weapons[5].damageMax = 12;
weapons[5].attackSpeed = 1;
weapons[6].damageMin = 5;
weapons[6].damageMax = 10;
weapons[6].attackSpeed = 3;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment