Доброго времени суток.
Так как не нашёлся человек кто смог подсказать в ранее созданной теме:
Ищу скриптера для создания (или) допиливания скрипта саб менеджера за оплату.
ТЗ наверное достаточно простое, требуется один нпц, у которого все рассы смогут производить добавление\смену\отмену саб класса.
Пример стандартного НПЦ по смене саб класса:
Сборка GFIL ADVEXT
Так как не нашёлся человек кто смог подсказать в ранее созданной теме:
Вы не можете просматривать ссылку пожалуйста воспользуйтесь следующими ссылками
Вход или Регистрация
ТЗ наверное достаточно простое, требуется один нпц, у которого все рассы смогут производить добавление\смену\отмену саб класса.
Пример стандартного НПЦ по смене саб класса:
C++:
set_compiler_opt base_event_type(@NTYPE_NPC_EVENT)
class master_lv3_hef : guild_master_lv3
{
parameter:
int lv2_class1 = 1;
int lv3_class11 = 2;
int lv3_class12 = 3;
int proof11x = 2627;
int proof11y = 2734;
int proof11z = 2762;
int proof12x = 2627;
int proof12y = 2734;
int proof12z = 3276;
int lv2_class2 = 4;
int lv3_class21 = 5;
int lv3_class22 = 6;
int proof21x = 2633;
int proof21y = 2734;
int proof21z = 2820;
int proof22x = 2633;
int proof22y = 2734;
int proof22z = 3307;
int lv2_class3 = 7;
int lv3_class31 = 8;
int lv3_class32 = 9;
int proof31x = 2673;
int proof31y = 2734;
int proof31z = 2809;
int proof32x = 2673;
int proof32y = 2734;
int proof32z = 3293;
int lv2_class4 = 19;
int lv3_class41 = 20;
int lv3_class42 = 21;
int proof41x = 2633;
int proof41y = 3140;
int proof41z = 2820;
int proof42x = 2627;
int proof42y = 3140;
int proof42z = 2762;
int lv2_class5 = 22;
int lv3_class51 = 23;
int lv3_class52 = 24;
int proof51x = 2673;
int proof51y = 3140;
int proof51z = 2809;
int proof52x = 2673;
int proof52y = 3140;
int proof52z = 3293;
handler:
EventHandler MENU_SELECTED( talker, state, ask, reply, c0, i0 )
{
if ( ask == -2 ) {
if ( ( myself.GetInventoryInfo( talker, 0 ) >= ( myself.GetInventoryInfo( talker, 1 ) * 0.800000 ) ) || ( myself.GetInventoryInfo( talker, 2 ) >= ( myself.GetInventoryInfo( talker, 3 ) * 0.800000 ) ) ) {
myself.ShowSystemMessage( talker, 1118 );
return;
}
c0 = myself.GetSummon( talker );
if ( c0 ) {
myself.ShowPage( talker, "master_lv3_hef_02.htm" );
return;
}
if ( reply == 1 ) {
if ( myself.IsInCategory( 0, talker.occupation ) && myself.IsInCategory( 9, talker.occupation ) && ( ( myself.IsInCategory( 44, talker.occupation ) ) || ( myself.IsInCategory( 48, talker.occupation ) ) ) ) {
myself.ShowPage( talker, fnYouAreFourthClass );
} else {
if ( myself.IsInCategory( 0, talker.occupation ) && ( ( myself.IsInCategory( 44, talker.occupation ) ) || ( myself.IsInCategory( 48, talker.occupation ) ) ) ) {
if ( ( ( ( ( ( talker.occupation == lv2_class1 ) || ( talker.occupation == lv3_class11 ) ) ) || ( talker.occupation == lv3_class12 ) ) ) || ( talker.occupation == lv3_class13 ) ) {
myself.ShowPage( talker, fnClassList1 );
} else {
if ( ( ( ( ( ( talker.occupation == lv2_class2 ) || ( talker.occupation == lv3_class21 ) ) ) || ( talker.occupation == lv3_class22 ) ) ) || ( talker.occupation == lv3_class23 ) ) {
myself.ShowPage( talker, fnClassList2 );
} else {
if ( ( ( ( ( ( talker.occupation == lv2_class3 ) || ( talker.occupation == lv3_class31 ) ) ) || ( talker.occupation == lv3_class32 ) ) ) || ( talker.occupation == lv3_class33 ) ) {
myself.ShowPage( talker, fnClassList3 );
} else {
if ( ( ( ( ( ( talker.occupation == lv2_class4 ) || ( talker.occupation == lv3_class41 ) ) ) || ( talker.occupation == lv3_class42 ) ) ) || ( talker.occupation == lv3_class43 ) ) {
myself.ShowPage( talker, fnClassList4 );
} else {
if ( ( ( ( ( ( talker.occupation == lv2_class5 ) || ( talker.occupation == lv3_class51 ) ) ) || ( talker.occupation == lv3_class52 ) ) ) || ( talker.occupation == lv3_class53 ) ) {
myself.ShowPage( talker, fnClassList5 );
} else {
myself.ShowPage( talker, fnYouAreFirstClass );
}
}
}
}
}
} else {
myself.ShowPage( talker, fnClassMismatch );
}
}
} else {
if ( reply == 10 ) {
myself.ShowPage( talker, "master_lv3_hef_01.htm" );
} else {
if ( reply >= 11 && reply <= 20 ) {
myself.GetSubJobList( talker, ( reply - 10 ), 0 );
} else {
if ( reply == 30 ) {
myself.GetSubJobList( talker, 11, 0 );
} else {
if ( reply == 40 ) {
if ( talker.level < 40 ) {
myself.ShowPage( talker, "master_lv3_hef_19.htm" );
return;
}
myself.GetSubJobList( talker, 20, 0 );
} else {
if ( reply == 41 ) {
if ( state == 1 ) {
myself.ShowPage( talker, "master_lv3_hef_01b.htm" );
} else {
if ( state == 2 ) {
myself.ShowPage( talker, "master_lv3_hef_01c.htm" );
} else {
if ( state == 3 ) {
myself.ShowPage( talker, "master_lv3_hef_01d.htm" );
}
}
}
} else {
if ( reply >= 42 && reply <= 51 ) {
myself.GetSubJobList( talker, ( reply - 41 ), state );
} else {
if ( reply >= 324 && reply <= 394 ) {
i0 = 0;
select ( reply ) {
case 324: {
i0 = 2;
break;
}
case 325: {
i0 = 3;
break;
}
case 327: {
i0 = 5;
break;
}
case 328: {
i0 = 6;
break;
}
case 330: {
i0 = 8;
break;
}
case 331: {
i0 = 9;
break;
}
case 342: {
i0 = 20;
break;
}
case 343: {
i0 = 21;
break;
}
case 345: {
i0 = 23;
break;
}
case 346: {
i0 = 24;
break;
}
case 380: {
i0 = 88;
break;
}
case 381: {
i0 = 89;
break;
}
case 382: {
i0 = 90;
break;
}
case 383: {
i0 = 91;
break;
}
case 384: {
i0 = 92;
break;
}
case 385: {
i0 = 93;
break;
}
case 391: {
i0 = 99;
break;
}
case 392: {
i0 = 100;
break;
}
case 393: {
i0 = 101;
break;
}
case 394: {
i0 = 102;
break;
}
}
if ( i0 > 0 ) {
if ( talker.alive ) {
if ( talker.occupation == i0 ) {
myself.ShowPage( talker, "master_lv3_hef_16.htm" );
return;
}
myself.ChangeSubJob( talker, i0 );
}
}
}
}
}
}
}
}
}
}
}
super;
}
EventHandler SUBJOB_CHANGED( talker, reply, item0 )
{
if ( reply == -1 ) {
myself.ShowPage( talker, "master_lv3_hef_18.htm" );
} else {
myself.SetMemoStateEx( talker, 422, 1, 0 );
item0 = myself.GetItemData( talker, 4425 );
if ( item0 ) {
myself.DestroyPet( talker, item0.dbid, item0.pet_level );
}
myself.ShowPage( talker, "master_lv3_hef_05.htm" );
}
}
EventHandler SUBJOB_LIST_INFORMED( talker, ask, i0, i2, i3, i4, i5, i6, i7, i8, fhtml0 )
{
if ( ask >= 1 && ask <= 3 && i8 > 0 ) {
if ( ( ( ( i8 == 1 && i3 >= 40 ) || ( i8 == 2 && i5 >= 40 ) ) ) || ( i8 == 3 && i7 >= 40 ) ) {
myself.c_ai4 = talker;
SendScriptEvent( myself.sm, 101, i8 );
}
}
if ( ( ( ( ask == 3 ) || ( ask == 4 ) ) ) || ( ask == 7 ) ) {
if ( ( ( ( ( ( i8 != 1 && myself.IsInCategory( 39, i2 ) ) || ( i8 != 2 && myself.IsInCategory( 39, i4 ) ) ) ) || ( i8 != 3 && myself.IsInCategory( 39, i6 ) ) ) ) || ( myself.IsInCategory( 39, i0 ) ) ) {
myself.ShowPage( talker, "master_lv3_hef_10.htm" );
return;
}
} else {
if ( ( ask == 5 ) || ( ask == 9 ) ) {
if ( ( ( ( ( ( i8 != 1 && myself.IsInCategory( 37, i2 ) ) || ( i8 != 2 && myself.IsInCategory( 37, i4 ) ) ) ) || ( i8 != 3 && myself.IsInCategory( 37, i6 ) ) ) ) || ( myself.IsInCategory( 37, i0 ) ) ) {
myself.ShowPage( talker, "master_lv3_hef_08.htm" );
return;
}
} else {
if ( ( ask == 6 ) || ( ask == 10 ) ) {
if ( ( ( ( ( ( i8 != 1 && myself.IsInCategory( 38, i2 ) ) || ( i8 != 2 && myself.IsInCategory( 38, i4 ) ) ) ) || ( i8 != 3 && myself.IsInCategory( 38, i6 ) ) ) ) || ( myself.IsInCategory( 38, i0 ) ) ) {
myself.ShowPage( talker, "master_lv3_hef_09.htm" );
return;
}
} else {
if ( ask == 8 ) {
if ( ( ( ( ( ( i8 != 1 && myself.IsInCategory( 42, i2 ) ) || ( i8 != 2 && myself.IsInCategory( 42, i4 ) ) ) ) || ( i8 != 3 && myself.IsInCategory( 42, i6 ) ) ) ) || ( myself.IsInCategory( 42, i0 ) ) ) {
myself.ShowPage( talker, "master_lv3_hef_13.htm" );
return;
}
}
}
}
}
if ( ask == 1 ) {
if ( i8 == 0 ) {
if ( ( ( ( i2 == -1 && myself.GetOneTimeQuestFlag( talker, 235 ) ) || ( ( i2 != -1 && i3 >= 75 && i4 == -1 ) ) ) ) || ( ( i4 != -1 && i5 >= 75 && i6 == -1 ) ) ) {
if ( i0 != 2 && i0 != 88 && i2 != 2 && i2 != 88 && i4 != 2 && i4 != 88 && i6 == -1 && ( ( myself.IsInCategory( 8, i0 ) ) || ( myself.IsInCategory( 9, i0 ) ) ) ) {
myself.CreateSubJob( talker, 2 );
}
} else {
myself.ShowPage( talker, "master_lv3_hef_04.htm" );
}
} else {
if ( i0 != 2 && i0 != 88 && i2 != 2 && i2 != 88 && i4 != 2 && i4 != 88 ) {
if ( ( ( ( i8 == 1 && i3 < 40 ) || ( i8 == 2 && i5 < 40 ) ) ) || ( i8 == 3 && i7 < 40 ) ) {
myself.ShowPage( talker, "master_lv3_hef_19.htm" );
return;
}
myself.RenewSubJob( talker, i8, 2 );
} else {
myself.ShowPage( talker, "master_lv3_hef_04.htm" );
}
}
} else {
if ( ask == 2 ) {
if ( i8 == 0 ) {
if ( ( ( ( i2 == -1 && myself.GetOneTimeQuestFlag( talker, 235 ) ) || ( ( i2 != -1 && i3 >= 75 && i4 == -1 ) ) ) ) || ( ( i4 != -1 && i5 >= 75 && i6 == -1 ) ) ) {
if ( i0 != 3 && i0 != 89 && i2 != 3 && i2 != 89 && i4 != 3 && i4 != 89 && i6 == -1 && ( ( myself.IsInCategory( 8, i0 ) ) || ( myself.IsInCategory( 9, i0 ) ) ) ) {
myself.CreateSubJob( talker, 3 );
}
} else {
myself.ShowPage( talker, "master_lv3_hef_04.htm" );
}
} else {
if ( i0 != 3 && i0 != 89 && i2 != 3 && i2 != 89 && i4 != 3 && i4 != 89 ) {
if ( ( ( ( i8 == 1 && i3 < 40 ) || ( i8 == 2 && i5 < 40 ) ) ) || ( i8 == 3 && i7 < 40 ) ) {
myself.ShowPage( talker, "master_lv3_hef_19.htm" );
return;
}
myself.RenewSubJob( talker, i8, 3 );
} else {
myself.ShowPage( talker, "master_lv3_hef_04.htm" );
}
}
} else {
if ( ask == 3 ) {
if ( i8 == 0 ) {
if ( ( ( ( i2 == -1 && myself.GetOneTimeQuestFlag( talker, 235 ) ) || ( ( i2 != -1 && i3 >= 75 && i4 == -1 ) ) ) ) || ( ( i4 != -1 && i5 >= 75 && i6 == -1 ) ) ) {
if ( i0 != 5 && i0 != 90 && i2 != 5 && i2 != 90 && i4 != 5 && i4 != 90 && i6 == -1 && ( ( myself.IsInCategory( 8, i0 ) ) || ( myself.IsInCategory( 9, i0 ) ) ) ) {
myself.CreateSubJob( talker, 5 );
}
} else {
myself.ShowPage( talker, "master_lv3_hef_04.htm" );
}
} else {
if ( i0 != 5 && i0 != 90 && i2 != 5 && i2 != 90 && i4 != 5 && i4 != 90 ) {
if ( ( ( ( i8 == 1 && i3 < 40 ) || ( i8 == 2 && i5 < 40 ) ) ) || ( i8 == 3 && i7 < 40 ) ) {
myself.ShowPage( talker, "master_lv3_hef_19.htm" );
return;
}
myself.RenewSubJob( talker, i8, 5 );
} else {
myself.ShowPage( talker, "master_lv3_hef_04.htm" );
}
}
} else {
if ( ask == 4 ) {
if ( i8 == 0 ) {
if ( ( ( ( i2 == -1 && myself.GetOneTimeQuestFlag( talker, 235 ) ) || ( ( i2 != -1 && i3 >= 75 && i4 == -1 ) ) ) ) || ( ( i4 != -1 && i5 >= 75 && i6 == -1 ) ) ) {
if ( i0 != 6 && i0 != 91 && i2 != 6 && i2 != 91 && i4 != 6 && i4 != 91 && i6 == -1 && ( ( myself.IsInCategory( 8, i0 ) ) || ( myself.IsInCategory( 9, i0 ) ) ) ) {
myself.CreateSubJob( talker, 6 );
}
} else {
myself.ShowPage( talker, "master_lv3_hef_04.htm" );
}
} else {
if ( i0 != 6 && i0 != 91 && i2 != 6 && i2 != 91 && i4 != 6 && i4 != 91 ) {
if ( ( ( ( i8 == 1 && i3 < 40 ) || ( i8 == 2 && i5 < 40 ) ) ) || ( i8 == 3 && i7 < 40 ) ) {
myself.ShowPage( talker, "master_lv3_hef_19.htm" );
return;
}
myself.RenewSubJob( talker, i8, 6 );
} else {
myself.ShowPage( talker, "master_lv3_hef_04.htm" );
}
}
} else {
if ( ask == 5 ) {
if ( i8 == 0 ) {
if ( ( ( ( i2 == -1 && myself.GetOneTimeQuestFlag( talker, 235 ) ) || ( ( i2 != -1 && i3 >= 75 && i4 == -1 ) ) ) ) || ( ( i4 != -1 && i5 >= 75 && i6 == -1 ) ) ) {
if ( i0 != 8 && i0 != 93 && i2 != 8 && i2 != 93 && i4 != 8 && i4 != 93 && i6 == -1 && ( ( myself.IsInCategory( 8, i0 ) ) || ( myself.IsInCategory( 9, i0 ) ) ) ) {
myself.CreateSubJob( talker, 8 );
}
} else {
myself.ShowPage( talker, "master_lv3_hef_04.htm" );
}
} else {
if ( i0 != 8 && i0 != 93 && i2 != 8 && i2 != 93 && i4 != 8 && i4 != 93 ) {
if ( ( ( ( i8 == 1 && i3 < 40 ) || ( i8 == 2 && i5 < 40 ) ) ) || ( i8 == 3 && i7 < 40 ) ) {
myself.ShowPage( talker, "master_lv3_hef_19.htm" );
return;
}
myself.RenewSubJob( talker, i8, 8 );
} else {
myself.ShowPage( talker, "master_lv3_hef_04.htm" );
}
}
} else {
if ( ask == 6 ) {
if ( i8 == 0 ) {
if ( ( ( ( i2 == -1 && myself.GetOneTimeQuestFlag( talker, 235 ) ) || ( ( i2 != -1 && i3 >= 75 && i4 == -1 ) ) ) ) || ( ( i4 != -1 && i5 >= 75 && i6 == -1 ) ) ) {
if ( i0 != 9 && i0 != 92 && i2 != 9 && i2 != 92 && i4 != 9 && i4 != 92 && i6 == -1 && ( ( myself.IsInCategory( 8, i0 ) ) || ( myself.IsInCategory( 9, i0 ) ) ) ) {
myself.CreateSubJob( talker, 9 );
}
} else {
myself.ShowPage( talker, "master_lv3_hef_04.htm" );
}
} else {
if ( i0 != 9 && i0 != 92 && i2 != 9 && i2 != 92 && i4 != 9 && i4 != 92 ) {
if ( ( ( ( i8 == 1 && i3 < 40 ) || ( i8 == 2 && i5 < 40 ) ) ) || ( i8 == 3 && i7 < 40 ) ) {
myself.ShowPage( talker, "master_lv3_hef_19.htm" );
return;
}
myself.RenewSubJob( talker, i8, 9 );
} else {
myself.ShowPage( talker, "master_lv3_hec_04.htm" );
}
}
} else {
if ( ask == 7 ) {
if ( talker.race == 2 ) {
myself.ShowPage( talker, "master_lv3_hef_15.htm" );
return;
}
if ( i8 == 0 ) {
if ( ( ( ( i2 == -1 && myself.GetOneTimeQuestFlag( talker, 235 ) ) || ( ( i2 != -1 && i3 >= 75 && i4 == -1 ) ) ) ) || ( ( i4 != -1 && i5 >= 75 && i6 == -1 ) ) ) {
if ( i0 != 20 && i0 != 99 && i2 != 20 && i2 != 99 && i4 != 20 && i4 != 99 && i6 == -1 && ( ( myself.IsInCategory( 8, i0 ) ) || ( myself.IsInCategory( 9, i0 ) ) ) ) {
myself.CreateSubJob( talker, 20 );
}
} else {
myself.ShowPage( talker, "master_lv3_hef_04.htm" );
}
} else {
if ( i0 != 20 && i0 != 99 && i2 != 20 && i2 != 99 && i4 != 20 && i4 != 99 ) {
if ( ( ( ( i8 == 1 && i3 < 40 ) || ( i8 == 2 && i5 < 40 ) ) ) || ( i8 == 3 && i7 < 40 ) ) {
myself.ShowPage( talker, "master_lv3_hef_19.htm" );
return;
}
myself.RenewSubJob( talker, i8, 20 );
} else {
myself.ShowPage( talker, "master_lv3_hec_04.htm" );
}
}
} else {
if ( ask == 8 ) {
if ( talker.race == 2 ) {
myself.ShowPage( talker, "master_lv3_hef_15.htm" );
return;
}
if ( i8 == 0 ) {
if ( ( ( ( i2 == -1 && myself.GetOneTimeQuestFlag( talker, 235 ) ) || ( ( i2 != -1 && i3 >= 75 && i4 == -1 ) ) ) ) || ( ( i4 != -1 && i5 >= 75 && i6 == -1 ) ) ) {
if ( i0 != 21 && i0 != 100 && i2 != 21 && i2 != 100 && i4 != 21 && i4 != 100 && i6 == -1 && ( ( myself.IsInCategory( 8, i0 ) ) || ( myself.IsInCategory( 9, i0 ) ) ) ) {
myself.CreateSubJob( talker, 21 );
}
} else {
myself.ShowPage( talker, "master_lv3_hef_04.htm" );
}
} else {
if ( i0 != 21 && i0 != 100 && i2 != 21 && i2 != 100 && i4 != 21 && i4 != 100 ) {
if ( ( ( ( i8 == 1 && i3 < 40 ) || ( i8 == 2 && i5 < 40 ) ) ) || ( i8 == 3 && i7 < 40 ) ) {
myself.ShowPage( talker, "master_lv3_hef_19.htm" );
return;
}
myself.RenewSubJob( talker, i8, 21 );
} else {
myself.ShowPage( talker, "master_lv3_hec_04.htm" );
}
}
} else {
if ( ask == 9 ) {
if ( talker.race == 2 ) {
myself.ShowPage( talker, "master_lv3_hef_15.htm" );
return;
}
if ( i8 == 0 ) {
if ( ( ( ( i2 == -1 && myself.GetOneTimeQuestFlag( talker, 235 ) ) || ( ( i2 != -1 && i3 >= 75 && i4 == -1 ) ) ) ) || ( ( i4 != -1 && i5 >= 75 && i6 == -1 ) ) ) {
if ( i0 != 23 && i0 != 101 && i2 != 23 && i2 != 101 && i4 != 23 && i4 != 101 && i6 == -1 && ( ( myself.IsInCategory( 8, i0 ) ) || ( myself.IsInCategory( 9, i0 ) ) ) ) {
myself.CreateSubJob( talker, 23 );
}
} else {
myself.ShowPage( talker, "master_lv3_hef_04.htm" );
}
} else {
if ( i0 != 23 && i0 != 101 && i2 != 23 && i2 != 101 && i4 != 23 && i4 != 101 ) {
if ( ( ( ( i8 == 1 && i3 < 40 ) || ( i8 == 2 && i5 < 40 ) ) ) || ( i8 == 3 && i7 < 40 ) ) {
myself.ShowPage( talker, "master_lv3_hef_19.htm" );
return;
}
myself.RenewSubJob( talker, i8, 23 );
} else {
myself.ShowPage( talker, "master_lv3_hec_04.htm" );
}
}
} else {
if ( ask == 10 ) {
if ( talker.race == 2 ) {
myself.ShowPage( talker, "master_lv3_hef_15.htm" );
return;
}
if ( i8 == 0 ) {
if ( ( ( ( i2 == -1 && myself.GetOneTimeQuestFlag( talker, 235 ) ) || ( ( i2 != -1 && i3 >= 75 && i4 == -1 ) ) ) ) || ( ( i4 != -1 && i5 >= 75 && i6 == -1 ) ) ) {
if ( i0 != 24 && i0 != 102 && i2 != 24 && i2 != 102 && i4 != 24 && i4 != 102 && i6 == -1 && ( ( myself.IsInCategory( 8, i0 ) ) || ( myself.IsInCategory( 9, i0 ) ) ) ) {
myself.CreateSubJob( talker, 24 );
}
} else {
myself.ShowPage( talker, "master_lv3_hef_04.htm" );
}
} else {
if ( i0 != 24 && i0 != 102 && i2 != 24 && i2 != 102 && i4 != 24 && i4 != 102 ) {
if ( ( ( ( i8 == 1 && i3 < 40 ) || ( i8 == 2 && i5 < 40 ) ) ) || ( i8 == 3 && i7 < 40 ) ) {
myself.ShowPage( talker, "master_lv3_hef_19.htm" );
return;
}
myself.RenewSubJob( talker, i8, 24 );
} else {
myself.ShowPage( talker, "master_lv3_hec_04.htm" );
}
}
} else {
if ( ask == 11 ) {
if ( i2 == -1 ) {
myself.ShowPage( talker, "master_lv3_hef_07.htm" );
} else {
i8 = 0;
myself.FHTML_SetFileName( fhtml0, "master_lv3_hef_03.htm" );
if ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( i0 == 2 ) || ( i0 == 3 ) ) ) || ( i0 == 5 ) ) ) || ( i0 == 6 ) ) ) || ( i0 == 8 ) ) ) || ( i0 == 9 ) ) ) || ( i0 == 20 ) ) ) || ( i0 == 21 ) ) ) || ( i0 == 23 ) ) ) || ( i0 == 24 ) ) ) || ( i0 == 88 ) ) ) || ( i0 == 89 ) ) ) || ( i0 == 90 ) ) ) || ( i0 == 91 ) ) ) || ( i0 == 92 ) ) ) || ( i0 == 93 ) ) ) || ( i0 == 99 ) ) ) || ( i0 == 100 ) ) ) || ( i0 == 101 ) ) ) || ( i0 == 102 ) ) {
if ( i0 > 87 ) {
i0 = ( i0 + 1114000 );
} else {
i0 = ( i0 + 1000322 );
}
myself.FHTML_SetStr( fhtml0, "reply1", MakeFString( i0, _blank, _blank, _blank, _blank, _blank ) );
} else {
i8 = ( i8 + 1 );
}
if ( i2 != -1 && ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( i2 == 2 ) || ( i2 == 3 ) ) ) || ( i2 == 5 ) ) ) || ( i2 == 6 ) ) ) || ( i2 == 8 ) ) ) || ( i2 == 9 ) ) ) || ( i2 == 20 ) ) ) || ( i2 == 21 ) ) ) || ( i2 == 23 ) ) ) || ( i2 == 24 ) ) ) || ( i2 == 88 ) ) ) || ( i2 == 89 ) ) ) || ( i2 == 90 ) ) ) || ( i2 == 91 ) ) ) || ( i2 == 92 ) ) ) || ( i2 == 93 ) ) ) || ( i2 == 99 ) ) ) || ( i2 == 100 ) ) ) || ( i2 == 101 ) ) ) || ( i2 == 102 ) ) ) {
if ( i2 > 87 ) {
i2 = ( i2 + 1114000 );
} else {
i2 = ( i2 + 1000322 );
}
myself.FHTML_SetStr( fhtml0, "reply2", MakeFString( i2, _blank, _blank, _blank, _blank, _blank ) );
} else {
i8 = ( i8 + 1 );
}
if ( i4 != -1 && ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( i4 == 2 ) || ( i4 == 3 ) ) ) || ( i4 == 5 ) ) ) || ( i4 == 6 ) ) ) || ( i4 == 8 ) ) ) || ( i4 == 9 ) ) ) || ( i4 == 20 ) ) ) || ( i4 == 21 ) ) ) || ( i4 == 23 ) ) ) || ( i4 == 24 ) ) ) || ( i4 == 88 ) ) ) || ( i4 == 89 ) ) ) || ( i4 == 90 ) ) ) || ( i4 == 91 ) ) ) || ( i4 == 92 ) ) ) || ( i4 == 93 ) ) ) || ( i4 == 99 ) ) ) || ( i4 == 100 ) ) ) || ( i4 == 101 ) ) ) || ( i4 == 102 ) ) ) {
if ( i4 > 87 ) {
i4 = ( i4 + 1114000 );
} else {
i4 = ( i4 + 1000322 );
}
myself.FHTML_SetStr( fhtml0, "reply3", MakeFString( i4, _blank, _blank, _blank, _blank, _blank ) );
} else {
i8 = ( i8 + 1 );
}
if ( i6 != -1 && ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( i6 == 2 ) || ( i6 == 3 ) ) ) || ( i6 == 5 ) ) ) || ( i6 == 6 ) ) ) || ( i6 == 8 ) ) ) || ( i6 == 9 ) ) ) || ( i6 == 20 ) ) ) || ( i6 == 21 ) ) ) || ( i6 == 23 ) ) ) || ( i6 == 24 ) ) ) || ( i6 == 88 ) ) ) || ( i6 == 89 ) ) ) || ( i6 == 90 ) ) ) || ( i6 == 91 ) ) ) || ( i6 == 92 ) ) ) || ( i6 == 93 ) ) ) || ( i6 == 99 ) ) ) || ( i6 == 100 ) ) ) || ( i6 == 101 ) ) ) || ( i6 == 102 ) ) ) {
if ( i6 > 87 ) {
i6 = ( i6 + 1114000 );
} else {
i6 = ( i6 + 1000322 );
}
myself.FHTML_SetStr( fhtml0, "reply4", MakeFString( i6, _blank, _blank, _blank, _blank, _blank ) );
} else {
i8 = ( i8 + 1 );
}
if ( i8 != 4 ) {
myself.ShowFHTML( talker, fhtml0 );
} else {
myself.ShowPage( talker, "master_lv3_hef_07.htm" );
}
}
} else {
if ( ask == 20 ) {
myself.FHTML_SetFileName( fhtml0, "master_lv3_hef_01a.htm" );
if ( i2 > 87 ) {
i2 = ( i2 + 1110970 );
} else {
i2 = ( i2 + 1111000 );
}
myself.FHTML_SetStr( fhtml0, "reply5", MakeFString( i2, _blank, _blank, _blank, _blank, _blank ) );
if ( i4 > 87 ) {
i4 = ( i4 + 1111970 );
} else {
i4 = ( i4 + 1112000 );
}
myself.FHTML_SetStr( fhtml0, "reply6", MakeFString( i4, _blank, _blank, _blank, _blank, _blank ) );
if ( i6 > 87 ) {
i6 = ( i6 + 1112970 );
} else {
i6 = ( i6 + 1113000 );
}
myself.FHTML_SetStr( fhtml0, "reply7", MakeFString( i6, _blank, _blank, _blank, _blank, _blank ) );
myself.ShowFHTML( talker, fhtml0 );
}
}
}
}
}
}
}
}
}
}
}
}
super;
}
EventHandler SUBJOB_CREATED( talker, reply )
{
if ( reply == -1 ) {
myself.ShowPage( talker, "master_lv3_hef_17.htm" );
} else {
myself.ShowPage( talker, "master_lv3_hef_06.htm" );
}
}
EventHandler SUBJOB_RENEWED( talker, reply )
{
if ( reply == -1 ) {
myself.ShowPage( talker, "master_lv3_hef_18.htm" );
} else {
myself.ShowPage( talker, "master_lv3_hef_05.htm" );
}
}
}