I ran into an error, so I thought to merely define it.
Then I tried to simply copy paste the defineObject dagger script and I was getting the same error.
Code: Select all
defineObject{
name = "dagger_vannay",
class = "Item",
uiName = "Dagger of Louis Vannay",
skill = "daggers",
gfxIndex = 10,
model = "assets/models/items/dagger.fbx",
attackPower= 12,
accuracy = 7,
evasion = 3,
coolDownTime: 2.0,
attackMethod = "meleeAttack",
attackSwipe = "vertical",
attackSound = "swipe_light",
impactSound = "impact_blade",
weight= 0.5 ,
description = "This dagger is superbly weighted. \nIt's craftsmanship goes beyond anything you've seen before. \nIt once belonged to a very famous rogue.",
}The error is always the same where '2.0' is whatever I entered for coolDownTime.
