User:Polavux/Technical:Bloons TD 5 (multiplatform)/Upgrades: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
LowoTV (talk | contribs)
I have done the cardinal sin of stealing from myself, and improving it
 
LowoTV (talk | contribs)
Tower Upgrades: minor change
Line 28: Line 28:


=== Tower Upgrades ===
=== Tower Upgrades ===
It upgrades the [[User:Polavux/Technical:Bloons TD 5 (mobile)/Towers|tower properties]] for the tower.


=== Weapon Upgrades ===
=== Weapon Upgrades ===

Revision as of 13:02, 17 May 2025

Upgrade properties

Key Description Type Required? Behavior when absent
Name The name of the upgrade for the tower getting upgraded. String Yes Upgrade functionally stops existing
TowerUpgrades The upgrades to the tower itself. Array of objects
WeaponUpgrades The upgrades to the tower's weapons. Array of objects

Tower Upgrades

It upgrades the tower properties for the tower.

Weapon Upgrades

Key Description Type Required? Behavior when absent
SlotIndex The slot the upgrade affects. This is used for a single weapon slot. Number
SlotIndices The slots the upgrade affects. This is used for more than 1 weapon slot. Array of Numbers
Adjust To change (by adding/subtracting) the base properties of the weapon. Array of objects
Replace To replace the base properties of the weapon. Array of objects
TaskUpgrades To change/replace the subtasks of the weapon. Array of objects

Adjust and Replace

Both of these only upgrade base weapon properties.

  • Adjust adds/subtracts numerical values of variables.
  • Replace replaces the values of variables.

Task Upgrades

This only upgrades tasks and subtasks.

Key Description Type Required? Behavior when absent
Operation The operation to find what to change.
SelectByType Selects by the type of subtask.
SelectByLocation Selects by the location of the subtask.
Adjust To adjust the value.
Replace To replace the value.
String