Type: Weapon Brain
Level: 2 star
Pages: 1
Description: Used to create a flaming sword in conjunction with the Damage Over Time – Burn brain. When the player hits another with the sword they will catch fire.
Note: This will only work if you hit characters with an active brain.
Kode
- WHEN DO [highlight][orange]
- WHEN DO [play fx][fx:Embers subtle][scale][2][at socket][center]
- WHEN DO [play sound][sound:Fire Flame Aura Loop][volume][25]
- WHEN [not][equipped]
- …WHEN [interacted] DO [it][equip][me]
- WHEN [equipped]
- …WHEN [for each of][owner][attack hit][light][or][owner][attack hit][or][owner][attack hit][heavy]
- …/…WHEN [for each of][them][owner][enemies]
- …/…/…WHEN [not][it][has brain][brain:Damage Over Time – Burn] DO [it][add brain][brain:Damage Over Time – Burn]
- …/…/…/…WHEN DO [play sound][sound:Fire Flare Ignite][overlapping]
Alterations
Only flames when equipped
It looks good if the sword only flames when you equip it. Move lines 2 and 3 as child lines of line 6.
Change effect to be flames rather than embers
Change line 2
WHEN DO [play fx][fx:Flame Aura][scale][0.5][at socket][center][volume][0]
Make it a Ranged weapon
To add this to a ranged weapon change line 7 to
WHEN [or each of][owner][attack hit][ranged]