Melee Weapon – Burn

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

  1. WHEN DO [highlight][orange]
  2. WHEN DO [play fx][fx:Embers subtle][scale][2][at socket][center]
  3. WHEN DO [play sound][sound:Fire Flame Aura Loop][volume][25]
  4. WHEN [not][equipped]
  5. …WHEN [interacted] DO [it][equip][me]
  6. WHEN [equipped]
  7. …WHEN [for each of][owner][attack hit][light][or][owner][attack hit][or][owner][attack hit][heavy]
  8. …/…WHEN [for each of][them][owner][enemies]
  9. …/…/…WHEN [not][it][has brain][brain:Damage Over Time – Burn] DO [it][add brain][brain:Damage Over Time – Burn]
  10. …/…/…/…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]

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: