Commit d26a5a0c authored by Maiyannah Bishop's avatar Maiyannah Bishop

[Imp] Implement concat of Druid strikes

parent 60711077
......@@ -29,7 +29,8 @@ Kauna.Imperian.StatusIcons = Kauna.Imperian.StatusIcons or {}
Kauna.Imperian.Mage = Kauna.Imperian.Mage or {}
Kauna.Imperian.Templar = Kauna.Imperian.Templar or {}
Kauna.Imperian.Wardancer = Kauna.Imperian.Wardancer or {}
Kauna.Imperian.Shaman = Kauna.Imperian.Shaman or {}</script>
Kauna.Imperian.Shaman = Kauna.Imperian.Shaman or {}
Kauna.Imperian.Druid = Kauna.Imperian.Druid or {}</script>
<eventHandlerList />
</Script>
<Script isActive="yes" isFolder="no">
......@@ -1631,6 +1632,27 @@ function Kauna.Imperian.Shaman.ReportBleed(target, damage_dealt, major_remaining
end</script>
<eventHandlerList />
</Script>
<Script isActive="yes" isFolder="no">
<name>Kauna.Imperian.Reports.Druid</name>
<packageName></packageName>
<script>function Kauna.Imperian.Druid.ReportPuncture(target, damage_dealt, major_remaining, minor_remaining, crit_amount)
crit_amount = crit_amount or 0
message = ""
Valkryja.Debug("target="..target, true)
if Logsogumandr[Config.Language].Imperian.Targets[target] then target = Logsogumandr[Config.Language].Imperian.Targets[target] end
if (Logsogumandr[Config.Language].Imperian.Druid_Puncture) then
message = message..string.format(Logsogumandr[Config.Language].Imperian.Druid_Puncture, target)
else
message = message..string.format(Logsogumandr["en-gb"].Imperian.Druid_Puncture, target)
end
Kauna.ReportStrike(message, damage_dealt, "cutting", major_remaining, minor_remaining, false, crit_amount)
message = nil
end
-- END OF SCRIPT
-- ============================================================================</script>
<eventHandlerList />
</Script>
</ScriptGroup>
</ScriptGroup>
<ScriptGroup isActive="yes" isFolder="yes">
......
This diff is collapsed.
......@@ -98,6 +98,13 @@ Logsogumandr["en-gb"].Imperian.Wardancer_Chant_GainBalance = "You are again able
-- -----------------------------------------------------------------------------
Logsogumandr["en-gb"].Imperian.Shaman_Bleed = "You point an imperious finger towards %s, and blood begins to pour from their pores."
-- =============================================================================
-- Druid messages
-- -----------------------------------------------------------------------------
-- Bashing attacks
-- -----------------------------------------------------------------------------
Logsogumandr["en-gb"].Imperian.Druid_Puncture = "You stab %s viciously with a sharpened quarterstaff."
-- =============================================================================
-- Substitution cipher tables for targets
......
......@@ -107,6 +107,17 @@ function Character.isShaman()
end
end
function Character.isDruid()
local prof = string.lower(Character.Vitals.Profession or "") or ""
if (prof=="druid") then
prof = nil
return true
else
prof = nil
return false
end
end
-- ============================================================================
-- PROFESSION-SPECIFIC HELPER FUNCTIONS
-- ----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment