From 90846e56dc07ce8f57bc6c011d59fbd8a08a1170 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Fri, 10 Aug 2012 15:59:28 +0200 Subject: [PATCH] fixed item stats --- src/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 192a5de..718aabe 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -278,13 +278,13 @@ int main(int argc, char **argv) { magicJar.SetName("Magic jar"); magicJar.SetMenuIcon(&potionIcon); magicJar.SetUsableInBattle(); - antidote.GetTargetingMode().TargetSingleAlly(); + magicJar.GetTargetingMode().TargetSingleAlly(); inventory.Add(&magicJar, 4); Item hiPotion; hiPotion.SetName("Hi-Potion"); hiPotion.SetMenuIcon(&potionIcon); hiPotion.SetUsableInBattle(); - antidote.GetTargetingMode().TargetSingleAlly(); + hiPotion.GetTargetingMode().TargetSingleAlly(); inventory.Add(&hiPotion, 4); Item powerPotion; powerPotion.SetName("Power potion"); @@ -297,18 +297,18 @@ int main(int argc, char **argv) { sleepBall.SetName("Sleep ball"); sleepBall.SetMenuIcon(&ballIcon); sleepBall.SetUsableInBattle(); - antidote.GetTargetingMode().TargetSingleEnemy(); + sleepBall.GetTargetingMode().TargetSingleEnemy(); inventory.Add(&sleepBall, 1); Item multiBall; multiBall.SetName("Multi-ball!"); multiBall.SetMenuIcon(&ballIcon); multiBall.SetUsableInBattle(); - antidote.GetTargetingMode().TargetMultipleEnemies(); + multiBall.GetTargetingMode().TargetMultipleEnemies(); inventory.Add(&multiBall, 1); Item figgoru; figgoru.SetName("Figgoru"); figgoru.SetMenuIcon(&crankIcon); - antidote.GetTargetingMode().TargetAllEnemies(); + figgoru.GetTargetingMode().TargetAllEnemies(); inventory.Add(&figgoru, 1); battleRes.inventory = &inventory; -- 2.39.2