-
Notifications
You must be signed in to change notification settings - Fork 0
Towers
André Steenhoff Madsen edited this page Oct 22, 2023
·
5 revisions
Has a number of properties, some, if not all, of which is listed below.
-
Range
- Range of the tower, wherein monsters attacked by the towers normal attack.
- Uses a Int.
-
Attack Speed
- Denoted in attacks per seconds.
- Increases to Attack speed have dimminising returns, but no hard cap.
- Uses a Float.
-
Damage
- Is a List containing minimum one Damage instance.
- Only one Damage instance of each DamageType can exist.
- Multiple Damage instances, means it deals damage of multiple types.
-
CriticalChance
- Is an Int.
- Has a lower limit of 0.
- Values over 100 has no benefit by it self.
- Number between 1 and 100 is rolled per attack.
- If the roll is below or equal to the chance, then it is a critical attack.
-
CriticalMultiplier
- Is a Float, where 1.0 means no additional damage is dealt on critical attack.
- Is supplied together with the Damage list, Ability List and Critical chance on damage calculation.
-
Health (Deprecated)
- If a Tower is out of health, than it will cease attacking for a set amount of time.
- Not all Monsters attack or deal damage to towers.
- Uses a Float, but always displays it rounded up.
-
Recovery (Deprecated)
- Controls amount of health returned every seconds to the tower.
- If a tower that has been reduced to 0 health, is healed to above 75% HP than it will re-engage monsters.
- Uses a Float, where 0.0 means no health is regained each second.
- Can be negative, but does not cause degeneration.
- Towers reduced to 0 health, gets a large bonus to Recovery until they re-engage monsters.
- Recovery grows until tower re-engages monsters, preventing large negative recovery from preventing the towers re-engage.
-
Deity
- Deity that the towers has an affinity for.
- Is a Reference to the Deity
-
Name
- Name of the Tower as a string.
- Uses Localization to support multiple languages.
-
Description
- Description of the Tower as a string.
- Uses Localization to support multiple languages.
-
Level
- Increases other stats of the tower, and adds to the Deities experience.
- Is increased when experience reaches the needed amount.
- Is a Reference to a Level
-
Resistance (Deprecated)
- Is a List of Resistances.
- Any DamageType without a Resistance object, will be counted as a 0% resistance, meaning neither a increase or decrease in damage taken.
-
Resistance Penetration
- Is a List of Resistances, of which the tower penetrates some part of.
- A value of 50%, means that an enemy with 20% Lightning resistance, will for the damage calculation, only have 10%.
- Any DamageType without a Resistance object, will be counted as a 0% resistance, meaning neither a increase or decrease in damage taken.
- Is a List of Resistances, of which the tower penetrates some part of.
-
Abilities
-
Location
- Is the towers location of the map.
- Is a reference to a Location.