Code: Select all
defineObject{
name = "dagger_1000_stings_cursed",
baseObject = "dagger",
components = {
{
class = "Model",
model = "assets/models/items/fist_dagger.fbx",
},
{
class ="Item",
uiName = "Dagger of 1000 Stings",
gfxAtlas = "mod_assets/textures/akroma_icons11.tga",
gfxIndex = 49,
weight = 1.0,
impactSound = "impact_blade",
traits = { "dagger", "light_weapon" },
gameEffect = "*CURSED*",
secondaryAction = "flurry_of_stings1",
description = "Many heroes and sell swords have tried to weild the dagger... but all disappear upon picking it up... only one man ever returned and he was mutilated beyond recognition... where does this dagger take people??",
weight = 1.2,
onEquipItem = function(self,champion, slot)
return cursedItemScript.script.dagger1000StingsCursedEquip(self,champion,slot)
end,
onUnequipItem = function(self,champion, slot)
return cursedItemScript.script.dagger1000StingsCursedUnequip(self,champion,slot)
end,
},
{
class = "MeleeAttack",
attackPower = 24,
accuracy = 10,
swipe = "thrust",
attackSound = "swipe",
cooldown = 1.6,
baseDamageStat = "dexterity",
requirements = {"light_weapons" ,5},
},
{
class = "MeleeAttack",
name = "flurry_of_stings1",
uiName = "Flurry of Stings",
chainAction = "flurry_of_stings2",
chainActionDelay = 0.1,
repeatCount = 7,
attackPower = 18,
swipe = "thrust",
attackSound = "swipe",
baseDamageStat = "dexterity",
cooldown = 2.8,
energyCost = 40,
gameEffect = "A series of piercing strikes focusing on speed and repetition rather than power.",
requirements = { "accuracy", 3},
},
{
class = "MeleeAttack",
name = "flurry_of_stings2",
uiName = "Flurry of Stings",
chainAction = "flurry_of_stings3",
chainActionDelay = 0.1,
attackPower = 18,
swipe = "thrust",
attackSound = "swipe",
baseDamageStat = "dexterity",
},
{
class = "MeleeAttack",
name = "flurry_of_stings3",
uiName = "Flurry of Stings",
chainAction = "flurry_of_stings4",
chainActionDelay = 0.1,
attackPower = 18,
swipe = "thrust",
attackSound = "swipe",
baseDamageStat = "dexterity",
},
{
class = "MeleeAttack",
name = "flurry_of_stings4",
uiName = "Flurry of Stings",
chainAction = "flurry_of_stings5",
chainActionDelay = 0.1,
attackPower = 18,
swipe = "thrust",
attackSound = "swipe",
baseDamageStat = "dexterity",
},
{
class = "MeleeAttack",
name = "flurry_of_stings5",
uiName = "Flurry of Stings",
attackPower = 18,
swipe = "thrust",
attackSound = "swipe",
baseDamageStat = "dexterity",
},
}
}
defineObject{
name = "dagger_1000_stings",
baseObject = "dagger",
components = {
{
class = "Model",
model = "assets/models/items/fist_dagger.fbx",
},
{
class ="Item",
uiName = "Dagger of 1000 Stings",
gfxAtlas = "mod_assets/textures/akroma_icons11.tga",
gfxIndex = 49,
weight = 1.0,
impactSound = "impact_blade",
traits = { "dagger", "light_weapon" },
gameEffect = "*CURSED*",
secondaryAction = "flurry_of_stings1",
description = "Many heroes and sell swords have tried to weild the dagger... but only you have lifted the 1000 Sting Curse... as it's name suggests, the dagger is fast and deadly.",
weight = 1.2,
onEquipItem = function(self,champion,slot)
return itemEquipScript.script.dagger1000StingsEquip(self,champion,slot)
end,
onUnequipItem = function(self,champion, slot)
return itemEquipScript.script.dagger1000StingsEquip(self,champion,slot)
end,
},
{
class = "MeleeAttack",
attackPower = 24,
accuracy = 10,
swipe = "thrust",
attackSound = "swipe",
cooldown = 1.8,
baseDamageStat = "dexterity",
requirements = {"light_weapons" ,5},
},
{
class = "MeleeAttack",
name = "flurry_of_stings1",
uiName = "Flurry of Stings",
chainAction = "flurry_of_stings2",
chainActionDelay = 0.1,
repeatCount = 7,
attackPower = 18,
swipe = "thrust",
attackSound = "swipe",
baseDamageStat = "dexterity",
cooldown = 2.8,
energyCost = 40,
gameEffect = "A series of piercing strikes focusing on speed and repetition rather than power.",
requirements = { "accuracy", 3},
},
{
class = "MeleeAttack",
name = "flurry_of_stings2",
uiName = "Flurry of Stings",
chainAction = "flurry_of_stings3",
chainActionDelay = 0.1,
attackPower = 18,
swipe = "thrust",
attackSound = "swipe",
baseDamageStat = "dexterity",
},
{
class = "MeleeAttack",
name = "flurry_of_stings3",
uiName = "Flurry of Stings",
chainAction = "flurry_of_stings4",
chainActionDelay = 0.1,
attackPower = 18,
swipe = "thrust",
attackSound = "swipe",
baseDamageStat = "dexterity",
},
{
class = "MeleeAttack",
name = "flurry_of_stings4",
uiName = "Flurry of Stings",
chainAction = "flurry_of_stings5",
chainActionDelay = 0.1,
attackPower = 18,
swipe = "thrust",
attackSound = "swipe",
baseDamageStat = "dexterity",
},
{
class = "MeleeAttack",
name = "flurry_of_stings5",
uiName = "Flurry of Stings",
attackPower = 18,
swipe = "thrust",
attackSound = "swipe",
baseDamageStat = "dexterity",
},
}
}