Posted 11 June 2013 - 08:52 PM
I have been making a PvP game in FTB using the 1.5.2(no gregtech) beta pack.
I have been making tables with the classes names, their items, and their abilities.
This is my code:
The error is on line 27(the line with arrows pointing to it)
I've tried re-writing it over and over again, checking it for any problems, but I am just so confused.
I have been making tables with the classes names, their items, and their abilities.
This is my code:
champs = {"tank","support","stealth","mage","soldier"}
tankStats = {
armor = "diamond",
sword = "iron",
spells = {
shield = {name = "Shield", effect = "resistance", effectPower = 1, durration = 10, cooldown = 30, target = "self"},
regenerate = {name = "Regeneration", effect = "regeneration", effectPower = 2, durration = 15, cooldown = 60, target = "self"},
buff = {name = "Attack Buff", effect = "strength", effectPower = 3, durration = 10, coooldown = 180, target = "self"}
}
}
supportStats = {
armor = "leather",
sword = "stone",
spells = {
groupBuff = {name = "Group Buff", effect = "strength", effectPower = 1, durration = 30, cooldown = 60, target = "group"},
groupShield = {name = "Group Shield", effect = "resistance", effectPower = 1, durration = 15, cooldown = 60, target = "group"},
selfSpeed = {name = "Speed Boost", effect = "speed", effectPower = 3, durration = 10, cooldown = 30, target = "self"},
groupHeal = {name = "Group Heal", effect = "health", effectPower = 3, durration = 1, cooldown = 90, target = "group"}
}
}
stealthStats = {
armor = "leather",
sword = "diamond",
spells = {
stealth = {name = "Invisibility", effect = "invisibility", effectPower = 1, durration = 5, cooldown = 20, target = "self"},
blind = {name = "Blind", effect = "blindness", effectPower = 1, durration = 5, cooldown = 30, target = "enemy"},
--> ninjaJump = {name = "Ninja Jump", effect = "jump boost", = effectPower = 4, durration = 5, cooldown = 60, target = "self"}, <--
nocturnal = {name = "Nocturnal Hunter", effects = {"night vision", "invisibility", "blindness"}, effectPower = 1, durration = 15, cooldown = 120, targets = {"self", "self", "enemy"}}
}
}
The error is on line 27(the line with arrows pointing to it)
I've tried re-writing it over and over again, checking it for any problems, but I am just so confused.