160
edits
No edit summary |
|||
| Line 61: | Line 61: | ||
CS$<>8locals1.dmg = CS$<>8locals1.dmg * (100 - (int)Mathf.Min(80f, Mathf.Sqrt((float)(this.LV - 50)) * 2.5f)) / 100; | CS$<>8locals1.dmg = CS$<>8locals1.dmg * (100 - (int)Mathf.Min(80f, Mathf.Sqrt((float)(this.LV - 50)) * 2.5f)) / 100; | ||
} | } | ||
The above code was provided by the discord user: mRain | |||
If it is the player character faction and the enemy's level is higher than lvl 51, then: | If it is the player character faction and the enemy's level is higher than lvl 51, then: | ||
edits