Rainbow Crystal Staff

From Terraria Wiki
Jump to navigation Jump to search
Desktop versionConsole versionMobile version
Desktop/Console/Mobile-Only Content: This information applies only to the Desktop, Console, and Mobile versions of Terraria.
Rainbow Crystal Staff
  • Rainbow Crystal Staff item sprite
Stack digit 1.png
Statistics
Type
Damage130 (Summon)
Knockback7.5 (Very strong)
Mana10
Use time30 (Average)
Velocity14
TooltipSummons a sentry
Summons a radiant crystal that banishes your enemies
'The colors, Duke, the colors!'
RarityRed (Rarity level: 10)
Sell10 GC
Research1 required
Projectiles created
  • Rainbow Crystal
    Rainbow Crystal
  • Rainbow Explosion
    Rainbow Explosion
Sounds
Use
Obtained from Obtained from Obtained from
Classic Mode.png Classic
Expert Mode.png Expert
Master Mode.png Master
EntityQty.Rate
Moon Lord(Desktop, Console and Mobile versions)Moon Lord's Head.gifMoon Lord(Desktop, Console and Mobile versions)122.2%
Treasure Bag(Desktop, Console and Mobile versions)
(Moon Lord)
Treasure Bag (Moon Lord)Treasure Bag
(Moon Lord)
(Desktop, Console and Mobile versions)
122.2%
The Rainbow Crystal damaging several Skeletons.

The Rainbow Crystal Staff is a Hardmode, post-Moon Lord summon weapon that summons a Rainbow Crystal sentry. It fires spreads of three multicolored light beams towards enemies, but cannot target through blocks. Each beam releases a star that explodes shortly after. Unlike most sentries, the Rainbow Crystal floats midair. The Rainbow Crystal Staff has a 2/9 (22.22%) chance of being dropped by the Moon Lord.

Its best modifier is Ruthless. The Mythical modifier provides the widest array of stat bonuses, but these primarily affect the initial summon rather than the resulting minion. Additionally, minions cannot deal critical hits. The only lasting advantage a Mythical Rainbow Crystal Staff has over a Ruthless one is knockback.

Notes

  • The Rainbow Crystal fires groups of 3 beams once every 0.4 seconds.[1]
  • The Rainbow explosions deal damage with a 0.5 second delay after spawning, and then deal damage for a second time after another 0.5 second delay, before finally disappearing.[2]
    • Each instance of damage from the explosions lasts for 1 tick[3] and they do not interfere with each other, meaning an enemy can be damaged by multiple explosions at once.[4]
  • The Rainbow explosions deal damage within a 3.75×3.75-tile square area.[2]
  • The light beams from the crystal will attack enemies that have not yet appeared on-screen.

Tips

  • This sentry has a very long range and can target enemies far off-screen, though it prefers to aim at closer targets. As such, this sentry should be placed high above to provide it the greatest field of vision.

Trivia

  • Unlike most rainbow-themed weapons, the Rainbow Crystal Staff does not have secret color themes for developers or beta testers.
  • The quote in its tooltip, 'The colors, Duke, the colors!', is a reference to a Popsicle commercial.
  • When its projectile is spawned directly using third-party software, its color will always be red.
  • Because it does a great amount of damage to players in PvP and can be placed in midair, most regulated PvP servers ban the use of this weapon.Verify

History

  • Desktop 1.4.0.1:
    • Damage decreased from 150 to 80.
    • Fixed accuracy issues, improved the speed at which sparkles explode.

References

  1. Information taken from the Desktop version Desktop 1.4.4.9 source code, method AI() in Terraria.Projectile.cs. The relevant part is the aiStyle == 123 code block. The Rainbow Crystal's ai[0] is set to -20 upon firing beams. after this, it is increased by 1 every tick until it reaches 0, where it is increased to 1 within the same tick, thus increasing by 2 in the last tick. it then continues to increase by 1 per tick until it reaches 5, at which point the Rainbow Crystal can fire beams again. This means the Rainbow Crystal fires beams once every 24 ticks.
  2. 2.0 2.1 Information taken from the Desktop version Desktop 1.4.4.9 source code, methods Kill() in Terraria.Projectile.cs and AI() in Terraria.Projectile.cs. The relevant part in Terraria.Projectile.AI method is the aiStyle == 112 code block.
  3. A tick is a time unit countable by the software. Most of Terraria's updating logic happens every tick. A tick has the length of 1/60th of a second, hence there are 60 ticks in a second and 3600 ticks in a minute.
  4. Information taken from the Desktop version Desktop 1.4.4.9 source code, method SetDefaults() in Terraria.Projectile.cs.