2025-09-06 08:17:10 +08:00
|
|
|
@tool
|
2025-09-06 08:08:19 +08:00
|
|
|
extends Weapon
|
|
|
|
|
class_name LGBTWeapon
|
|
|
|
|
|
|
|
|
|
func update(to: int, origin: Dictionary, _entity: EntityBase):
|
2025-09-20 07:01:17 +08:00
|
|
|
origin["atk"] += 5 * to * soulLevel
|
|
|
|
|
origin["power"] += 0.05 * to * soulLevel
|
|
|
|
|
origin["trace"] += 0.25 * to * soulLevel
|
2025-09-06 08:08:19 +08:00
|
|
|
return origin
|
|
|
|
|
func attack(entity: EntityBase):
|
2025-11-06 22:26:15 +08:00
|
|
|
var summon = entity.summon(ComponentManager.getSummon("LGBTFlag"))
|
|
|
|
|
summon.atk = readStore("atk")
|
|
|
|
|
summon.maxTraceTime = readStore("trace") * 1000
|
|
|
|
|
summon.tracePower = readStore("power")
|
2025-09-06 08:08:19 +08:00
|
|
|
return true
|