Skip to content

Commit b823ce2

Browse files
committed
Fix bug in Cold Troll tower
Level bonus for slow was incorrectly set to 0.1%, should be 0.01%
1 parent 56599d5 commit b823ce2

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

data/texts.csv

+1-1
Original file line numberDiff line numberDiff line change
@@ -5608,7 +5608,7 @@ Each time a creep is damaged by [color=GOLD]Blizzard[/color] there is a 30% chan
56085608

56095609
[color=ORANGE]Level Bonus:[/color]
56105610
+6 spell damage
5611-
+0.1% slow
5611+
+0.01% slow
56125612
+1% chance for slow
56135613
+0.1% chance for stun
56145614
"

src/towers/tower_behaviors/cold_troll.gd

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
extends TowerBehavior
22

33

4+
# NOTE: [ORIGINAL_GAME_BUG] Fixed bug where tooltip had
5+
# incorrect value (but logic was correct). For tier 1 troll,
6+
# Blizzard spell, tooltip says level bonus is "+0.1% slow"
7+
# when it's really "+0.01% slow" like it is for all other
8+
# tiers.
9+
10+
411
var slow_bt: BuffType
512
var blizzard_st: SpellType
613
var stun_bt: BuffType
@@ -12,7 +19,7 @@ const STUN_CHANCE_ADD: float = 0.001
1219

1320
func get_tier_stats() -> Dictionary:
1421
return {
15-
1: {slow_chance = 0.30, mod_movespeed = 0.07, mod_movespeed_add = 0.001, slow_duration = 4.0, stun_chance = 0.10, stun_duration = 0.25, blizzard_damage = 60, blizzard_radius = 200, blizzard_wave_count = 5, damage_ratio_add = 0.1},
22+
1: {slow_chance = 0.30, mod_movespeed = 0.07, mod_movespeed_add = 0.0001, slow_duration = 4.0, stun_chance = 0.10, stun_duration = 0.25, blizzard_damage = 60, blizzard_radius = 200, blizzard_wave_count = 5, damage_ratio_add = 0.1},
1623
2: {slow_chance = 0.35, mod_movespeed = 0.09, mod_movespeed_add = 0.0001, slow_duration = 4.5, stun_chance = 0.15, stun_duration = 0.50, blizzard_damage = 333, blizzard_radius = 300, blizzard_wave_count = 6, damage_ratio_add = 0.036},
1724
3: {slow_chance = 0.40, mod_movespeed = 0.11, mod_movespeed_add = 0.0001, slow_duration = 5.0, stun_chance = 0.20, stun_duration = 0.75, blizzard_damage = 572, blizzard_radius = 400, blizzard_wave_count = 7, damage_ratio_add = 0.033},
1825
4: {slow_chance = 0.45, mod_movespeed = 0.14, mod_movespeed_add = 0.0001, slow_duration = 5.5, stun_chance = 0.25, stun_duration = 1.00, blizzard_damage = 1000, blizzard_radius = 500, blizzard_wave_count = 8, damage_ratio_add = 0.05},

0 commit comments

Comments
 (0)