@LabelIndex 6912
@StringIndex 0
class 0 arena_cp_booster : warehouse_keeper {
handler:
	EventHandler TALKED(talker) {
		myself::ShowPage(talker,fnHi);
	}

	EventHandler MENU_SELECTED(talker,ask,reply) {
		if( ask == -1000 ) {
			if( reply == 0 ) {
				if( gg::OwnItemCount(talker,57) > 99 ) {
					if( myself::Skill_GetConsumeMP(287047681) < myself.sm.mp && myself::Skill_GetConsumeHP(287047681) < myself.sm.hp && myself::Skill_InReuseDelay(287047681) == 0 ) {
						myself::AddUseSkillDesire(talker,287047681,0,0,1000000);
					}
					myself::DeleteItem1(talker,57,100);
				} else {
					myself::ShowSystemMessage(talker,279);
				}
			}
		}
	}

}
