-
Notifications
You must be signed in to change notification settings - Fork 1
/
Coefficient.cs
47 lines (34 loc) · 1.22 KB
/
Coefficient.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Coefficient : MonoBehaviour
{
//armor coefficient
public static int armor = 10;
//health per strength
public static int healthPerStrength = 3;
//armor per agility
public static double armorPerAgility = 0.2;
//crit chance per intelligence
public static double critChancePerIntelligence = 0.01;
//moves per agility
public static int agilityPerMove = 6;
//damage per level
public static int damagePerLevel = 2;
//vs enemy escape chance
public static double enemyLevelEscapeChance = 0.05;
public static double enemyStatsEscapeChance = 0.1;
//vs player escape chance
public static double playerEnemyStatsEscapeChance = 0.05;
public static double playerStatsEscapeChance = 0.1;
//heal
public static int intelligencePerHeal = 4;
public static int healApplication = 5;
//exp per level
public static int expPerPlayerLevel = 7;
public static int expPerEnemyLevel = 3;
//exp per enemy level for escape
public static int escapeExpPerEnemyLevel = 2;
//default chance of fight while moving
public static double defaultFightChance = 0.25;
}