X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FBattleState.cpp;h=6db79f882f9253e0466ec03bce13f361183b5679;hb=57675025108b7ad3989737f18ebfeec8e5e44889;hp=d7b5a075a311da997070b4d5e9a519211affeb08;hpb=ee2e9e25571908bc840b08ab954be05f357e7f58;p=l2e.git diff --git a/src/battle/BattleState.cpp b/src/battle/BattleState.cpp index d7b5a07..6db79f8 100644 --- a/src/battle/BattleState.cpp +++ b/src/battle/BattleState.cpp @@ -74,6 +74,18 @@ void BattleState::EnterState(Application &ctrl, SDL_Surface *screen) { spellMenus.back().Add("Spark : 3", 0); heroTags.push_back(HeroTag(&heroes[i], &attackChoices[i], res, HeroTag::Alignment((i + 1) % 2))); } + itemMenu = res->itemMenuPrototype; + itemMenu.Add("Antidote : 9", 0); + itemMenu.Add("Magic jar : 4", 0); + itemMenu.Add("Miracle : 4", 0); + itemMenu.Add("Hi-Potion : 6", 0); + itemMenu.Add("Hi-Magic : 7", 0); + itemMenu.Add("Regain : 4", 0); + itemMenu.Add("Power potion: 4", 0, false); + itemMenu.Add("Life potion : 1", 0, false); + itemMenu.Add("Escape : 2", 0, false); + itemMenu.Add("Power gourd : 3", 0); + itemMenu.Add("Mystery pin : 2", 0); } void BattleState::ExitState(Application &ctrl, SDL_Surface *screen) {