Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int GetBaseDamage() {
- if (!this.canBecomeStrongerOverTime) {
- return this.baseDamage;
- }
- int resultingDamage = this.baseDamage + (DayNightCycle.singleton.currentDay * OVER_TIME_STRENGTH_RATIO);
- if (resultingDamage >= OVER_TIME_STRENGTH_MAX_DAMAGE) {
- return OVER_TIME_STRENGTH_MAX_DAMAGE;
- }
- return resultingDamage;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement