1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-31 08:21:54 +08:00
Files
Dog-Lynx-And-HCN/scripts/Contents/Bullets/BossAttack/Bear/ForeverRainbow.gd
T
fallingshrimp f2d11a495f fix(boss): 调整熊boss的攻击伤害和阶段属性
降低熊boss所有攻击技能的伤害值,并重新设计阶段属性
调整ArrowSeven子弹的材质和位置
添加1%概率直接进入阶段2的机制
2025-09-30 18:44:15 +08:00

22 lines
434 B
GDScript

extends BulletBase
@export var allColor: GradientTexture1D = null
var myColor: Color
func register():
damage = 3
penerate = 1
func spawn():
myColor = allColor.gradient.sample(randf())
setColor(myColor)
func ai():
speed = (11000 - timeLived()) / 11000 * initialSpeed
rotation_degrees += speed / 10
PresetBulletAI.forward(self, rotation)
func setColor(color: Color):
texture.self_modulate = color
texture.modulate.v *= 10