Have a error =
This is correct =
if(ask == -900 && reply == 5 )
{
if(talker.level >= 75 && talker.subjob_id != 0 && myself::OwnItemCount(talker, @item_name ) >= 100)
{
myself::DeleteItem1(talker, @item_name, 100);
myself::GiveItem1(talker, @nobless_tiara ,1);
myself::SetNobless(talker);
myself::ShowPage(talker,"noble_success.htm");
myself::SoundEffect(talker,"ItemSound.quest_finish");
}
else
{
myself::ShowPage(talker,"noble_cannot.htm");
}
}
if(ask == -900 && reply == 4)
{
if(talker.level >= 75 && talker.subjob_id == 0 && myself::OwnItemCount(talker, @adena ) >= 50000000)
{
myself::DeleteItem1(talker, @adena, 50000000);
myself::GiveItem1(talker, @mimirs_elixir, 1);
myself::GiveItem1( talker, @scrl_of_ench_wp_a, 1 );
myself::SetOneTimeQuestFlag( talker, 235, 1 );
myself::SoundEffect( talker, "ItemSound.quest_finish" );
myself::ShowPage(talker,"subclass_finish.htm");
}
else
{
myself::ShowPage(talker,"subclass_no.htm");
}