2 if (!Char
->CheckThrow()) return false;
3 if (!Char
->GetStack()->GetItems()) {
4 ADD_MESSAGE("You have nothing to throw!");
7 item
*Item
= Char
->GetStack()->DrawContents(Char
, CONST_S("What do you want to throw?"));
9 int Answer
= game::DirectionQuestion(CONST_S("In what direction do you wish to throw? [press a direction key]"), false);
10 if (Answer
== DIR_ERROR
) return false;
11 Char
->ThrowItem(Answer
, Item
);
12 Char
->EditExperience(ARM_STRENGTH
, 75, 1 << 8);
13 Char
->EditExperience(DEXTERITY
, 75, 1 << 8);
14 Char
->EditExperience(PERCEPTION
, 75, 1 << 8);
16 Char
->DexterityAction(5);