Code: Select all
cloneObject{
name = "sacrificial_dagger",
baseObject = "assassin_dagger",
uiName = "Sacrificial Dagger",
description = "Dark energy emanates from this ritualistic blade",
gameEffect = "Place against a comrade's throat to complete the dark ritual",
consumable = true,
onUseItem = function(self, champion)
playSound("party_crushed")
champion:damage(10000, "physical")
hudPrint(champion:getName().." has been sacrificed.")
setMouseItem("sacrificial_dagger_used")
return true
end,
weight = 1.0,
}
cloneObject{
name = "sacrificial_dagger__used",
baseObject = "assassin_dagger",
uiName = "Sacrificial Dagger",
description = "The essence of your comrade pulses within the blade",
weight = 1.0,
}