Game Mechanics

## OUTDATED, PLEASE DOUBLE CHECK DATA ELSEWHERE

	+ Mo planned a game mode which gives you currencies to buff one of your stat in a class furthermore, more info can be seen beneath.

#### Class upgrade cost

* `((getCostofClass(name)*lvlwanted)/80)+lvlwanted*10`
	+ Unlockable, game pass and starter classes' costs are all 100.

### Buffs & Debuffs

* They follow a rather simple rule:
	+ 1+buff, just that.

* But when it comes to multiple buffs/debuffs, they'll multiply each other, which will be:
	+ buff/debuff x buff/debuff
	+ Guardian angel buffs will be: 1.6\*1.75\*1.6 = 4.48x ATK buff.
	+ With red mage debuffing will be: 4.48\*0.5 = 2.24x ATK buff
* Also giving yourself -1 ATKSPD will have max ATKSPD.

#### Shields

* Gives you an additional blue bar in health bars.
	+ Enemies work the same as players.
	+ But for bosses, it will be just a blanket and +shields: Shedletsky 5000/6600 (+1200)
		- Lifesteal for Shedletsky will be converted to Shields for some reasons.

* Max will be players' max HP.
	+ Shield limit for Terra is their current HP.
* Players' shields decay 0.5/s, or 1 shield per 2 seconds.
* For bosses, they will decay 1/s.

#### Regeneration particles (Healer's ab1)

Also stated by mo.

* Sizes are depended on total heals.
	+ Small: <40 heals in total.
	+ Medium: <60 heals in total.
	+ Big: >60 heals in total.

### Below this is based on my experiences, can be wrong, and feel free to change these.

#### Invulnerability (Iframes)

* Invuln basically neglects any DMG.
* Also ignore stuns but most of the time you'll be immobilised instead.
* Freezing will let you able to turn around, but not moving or doing anything except that.

#### Defence (DEF)

* It reduces DMG you're taking.
* But they also give you some kind of immunity to stuns.
	+ With DEF, you will just continuously tripping. But you're still able to move.

#### Save

* Gives you an additional yellow bar in front your health bar.
	+ That will be the HP you recover after death, basically half of your max HP.

#### Knockbacks (KB)

* Basically gives you a velocity, and stuns you shortly for the effect.
* This is also why Iframes makes you immune to KB but DEF dont.

## Game related

### Rounds

* First round has 30 seconds for preparations.
* Every round will have 10 seconds to vote, and 15 seconds to rest until another round.

#### Solo rewards

* Basically, that round's surviving rewards but you get extra double of that.
	+ Which will be a total of triple the normal reward.

#### Round Ending Rewards

* Formula is: 2+(round/2)
	+ 2+(round\*2) if soloing.
* Round 1 gives 0, despite the formula.

#### Double bosses

* Two bosses will be voted after round 50.
* Their HP will revert back to the boss HP from round 1.
* There are no triple bosses yet.

#### Minigames

* Every 5 rounds will be a minigame, which will be either
	1. Wobbly Plates - 2 minutes
		+ Skin mass are in considerations.
		+ Thus some skins like Shield Hero will cause the plates to trip rather quickly.
	2. Vanish Plates - 1 minute
	3. Laser Survival - 1 minute
	4. Lava cages - 3 rounds

* Winning these will gives you 25 BB and 1 Revives.

### Hero Mode (Planned)

* Players are required to have at least 1 class maxed and 2 hours of total gameplay.
* Breaking rules within this game mode will double the penalty.
* No revives, skipping or second chances.
* New abilities, CD, stats and status effects for bosses.
	+ Bosses like Twins may change drastically.

New currency, stat buffing system will also be introduced with this game mode.

* A new currency is called Chu Coin.
	+ Can only be earned via every 10 rounds in this game mode.
	+ Can be used to upgrade 1 stat of a class permanently.
	+ Max is 5 times per class.
	+ They'll be 50% less effective in normal mode.
* New stat buffing system will be this: **Stat \* (1 + (level + statupgrade)/10)**
* The upgrading cost will be: **Cost = 1/((12.5)/4) \* Level**
	+ The cost will also be rounded down.

## Damage variations

### Currently in use

#### Dark Red with black outlines

Normal Damages, nothing special.

* These are also the only one that gives titles like Immortal, Lucky, etc.

#### Light Red with white outlines

True Damages, which ignores Defence, Shields and I-frames.

* Right now only used by Bombs and Goblin Assassins.

#### Blue with black outlines

Pierce Damages, they bypass Shields and half of the defence buff the boss/player has.

* Currently only used by Shovel Knight's ab2 and Gunslinger's ab3.

#### Orange with white outlines

SpareDamages, which is just the same as normal Damage, but they can't kill you.

* They can't damage further below 5 HP or 5% MAXHP (the greater value is used).

* Currently only known used by Necro's AoE.

#### Dark grey with white outlines

Used only for Engineer, are meant to show the amount of metal you are gaining

#### [White with Black outlines

Reserved damages, enemies/players take 5 damage every second.

* Each stack delays the decay by 5 seconds.
* Currently used by Strider only.]

```
Along with the removal of Strider on 7/21/21, this damage type is no longer in use.

```