dont worry , I am definitely not in a rush here :d looking forward for any mighty knowledge you will share. thanksakroma222 wrote: Probably in a few days?
edit: that script looks.... scarry

dont worry , I am definitely not in a rush here :d looking forward for any mighty knowledge you will share. thanksakroma222 wrote: Probably in a few days?
Code: Select all
defineObject{
name = "grenade_launcher",
baseObject = "base_item",
components = {
{
class = "Model",
model = "assets/models/items/repeater.fbx",
},
{
class = "Item",
uiName = "Dragon's Fire",
description = "A powerful Dwarvish firearm. Also known as the \"Dragon Mooth\" for its ability to throw fireballs.",
gfxIndex = 337,
gfxIndexPowerAttack = 97,
impactSound = "impact_blunt",
weight = 4.4,
secondaryAction = "grenade",
traits = { "firearm" },
},
{
class = "FirearmAttack",
attackPower = 120,
cooldown = 6,
attackSound = "gun_shot_small",
ammo = "pellet",
requirements = { "firearms", 5 },
jamChance = 15,
},
{
class = "CastSpell",
name = "grenade",
uiName = "Dragon's shoot",
gameEffect = "Fires a deadly fireball.",
cooldown = 5,
spell = "fireball",
energyCost = 25,
power = 150,
charges = 9,
fullGfxIndex = 215,
emptyGfxIndex = 216,
requirements = { "firearms", 5, "fire_magic", 2 },
},
},
}