Skip to content
Snippets Groups Projects
Commit 8fd442ca authored by Alex Ksandra's avatar Alex Ksandra
Browse files

whoops forgot to add staff combat

parent 9f4d61ec
No related branches found
No related tags found
1 merge request!255Small fixes
......@@ -17,6 +17,8 @@
-- Nicolas Casalini "DarkGod"
-- darkgod@te4.org
local DamageType = require "engine.DamageType"
newTalent{
name = "Channel Staff",
type = {"spell/staff-combat", 1},
......@@ -46,7 +48,7 @@ newTalent{
local particle = "bolt_fire"
local explosion = "flame"
local damtype = combat.element or combat.damtype or engine.DamageType.PHYSICAL
local damtype = combat.element or combat.damtype or DamageType.ARCANE
if damtype == DamageType.FIRE then explosion = "flame" particle = "bolt_fire" trail = "firetrail"
elseif damtype == DamageType.COLD then explosion = "freeze" particle = "ice_shards" trail = "icetrail"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment