@LabelIndex 120873
@StringIndex 15169
class 0 ai_immo_sboss_basic : ai_immo_basic {
parameter:
	string	type = "solo_boss_default";
	int	TM_WORMWAKE = 78009;
	int	TIME_WORMWAKE = 30;
	int	Skill_sbossdef = 388628481;

handler:
	EventHandler CREATED(c0) {
		myself::AddTimerEx(TM_WORMWAKE,( TIME_WORMWAKE * 1000 ));
		super;
	}

	EventHandler TIMER_FIRED_EX(timer_id,h0,i0) {
		if( timer_id == TM_WORMWAKE ) {
			h0 = myself::GetMaxHateInfo(0);
			i0 = 0;
			if( myself::IsNullHateInfo(h0) == 0 ) {
				if( myself::IsNullCreature(h0.creature) == 0 ) {
					i0 = 1;
				}
			}
			if( i0 == 1 && h0.hate > 0 ) {
				if( h0.creature != myself.sm ) {
					if( gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384696321)) <= 8 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384761859)) <= 8 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384827395)) <= 8 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384434177)) <= 8 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384565251)) <= 8 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384630787)) <= 8 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384499715)) <= 8 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384892929)) <= 2 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384958465)) <= 2 ) {
						if( gg::Skill_IsMagic(385155074) == 0 && ( gg::GetAbnormalLevel(myself.sm,myself::Skill_GetAbnormalType(23134209)) > 0 || gg::GetAbnormalLevel(myself.sm,myself::Skill_GetAbnormalType(87556097)) > 0 ) ) {
							if( babble_mode == 1 ) {
								myself::Say("!");
							}
						} else if( gg::Skill_IsMagic(385155074) == 1 && ( gg::GetAbnormalLevel(myself.sm,myself::Skill_GetAbnormalType(69730305)) > 0 || gg::GetAbnormalLevel(myself.sm,myself::Skill_GetAbnormalType(87556097)) > 0 ) ) {
							if( babble_mode == 1 ) {
								myself::Say("!");
							}
						} else if( myself::Skill_GetConsumeMP(385155074) < myself.sm.mp && myself::Skill_GetConsumeHP(385155074) < myself.sm.hp && myself::Skill_InReuseDelay(385155074) <= 0 ) {
							if( babble_mode == 1 ) {
								myself::Say("" + gg::IntToStr(gg::FloatToInt(( 385155074 / 65536 ))) + "");
							}
							myself::AddUseSkillDesire(h0.creature,385155074,0,1,( 1000000 * UseSkill_BoostValue ));
						} else if( babble_mode == 1 ) {
							myself::Say(" ˆ!");
						}
					} else if( gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384696321)) <= 9 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384761859)) <= 9 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384827395)) <= 9 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384434177)) <= 9 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384565251)) <= 9 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384630787)) <= 9 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384499715)) <= 10 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384892929)) <= 4 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384958465)) <= 4 ) {
						if( gg::Skill_IsMagic(385155075) == 0 && ( gg::GetAbnormalLevel(myself.sm,myself::Skill_GetAbnormalType(23134209)) > 0 || gg::GetAbnormalLevel(myself.sm,myself::Skill_GetAbnormalType(87556097)) > 0 ) ) {
							if( babble_mode == 1 ) {
								myself::Say("!");
							}
						} else if( gg::Skill_IsMagic(385155075) == 1 && ( gg::GetAbnormalLevel(myself.sm,myself::Skill_GetAbnormalType(69730305)) > 0 || gg::GetAbnormalLevel(myself.sm,myself::Skill_GetAbnormalType(87556097)) > 0 ) ) {
							if( babble_mode == 1 ) {
								myself::Say("!");
							}
						} else if( myself::Skill_GetConsumeMP(385155075) < myself.sm.mp && myself::Skill_GetConsumeHP(385155075) < myself.sm.hp && myself::Skill_InReuseDelay(385155075) <= 0 ) {
							if( babble_mode == 1 ) {
								myself::Say("" + gg::IntToStr(gg::FloatToInt(( 385155075 / 65536 ))) + "");
							}
							myself::AddUseSkillDesire(h0.creature,385155075,0,1,( 1000000 * UseSkill_BoostValue ));
						} else if( babble_mode == 1 ) {
							myself::Say(" ˆ!");
						}
					} else if( gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384696321)) <= 10 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384761859)) <= 10 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384827395)) <= 10 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384434177)) <= 10 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384565251)) <= 10 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384630787)) <= 10 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384499715)) <= 10 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384892929)) <= 5 || gg::GetAbnormalLevel(h0.creature,myself::Skill_GetAbnormalType(384958465)) <= 5 ) {
						if( gg::Skill_IsMagic(385155076) == 0 && ( gg::GetAbnormalLevel(myself.sm,myself::Skill_GetAbnormalType(23134209)) > 0 || gg::GetAbnormalLevel(myself.sm,myself::Skill_GetAbnormalType(87556097)) > 0 ) ) {
							if( babble_mode == 1 ) {
								myself::Say("!");
							}
						} else if( gg::Skill_IsMagic(385155076) == 1 && ( gg::GetAbnormalLevel(myself.sm,myself::Skill_GetAbnormalType(69730305)) > 0 || gg::GetAbnormalLevel(myself.sm,myself::Skill_GetAbnormalType(87556097)) > 0 ) ) {
							if( babble_mode == 1 ) {
								myself::Say("!");
							}
						} else if( myself::Skill_GetConsumeMP(385155076) < myself.sm.mp && myself::Skill_GetConsumeHP(385155076) < myself.sm.hp && myself::Skill_InReuseDelay(385155076) <= 0 ) {
							if( babble_mode == 1 ) {
								myself::Say("" + gg::IntToStr(gg::FloatToInt(( 385155076 / 65536 ))) + "");
							}
							myself::AddUseSkillDesire(h0.creature,385155076,0,1,( 1000000 * UseSkill_BoostValue ));
						} else if( babble_mode == 1 ) {
							myself::Say(" ˆ!");
						}
					} else if( gg::Skill_IsMagic(385155073) == 0 && ( gg::GetAbnormalLevel(myself.sm,myself::Skill_GetAbnormalType(23134209)) > 0 || gg::GetAbnormalLevel(myself.sm,myself::Skill_GetAbnormalType(87556097)) > 0 ) ) {
						if( babble_mode == 1 ) {
							myself::Say("!");
						}
					} else if( gg::Skill_IsMagic(385155073) == 1 && ( gg::GetAbnormalLevel(myself.sm,myself::Skill_GetAbnormalType(69730305)) > 0 || gg::GetAbnormalLevel(myself.sm,myself::Skill_GetAbnormalType(87556097)) > 0 ) ) {
						if( babble_mode == 1 ) {
							myself::Say("!");
						}
					} else if( myself::Skill_GetConsumeMP(385155073) < myself.sm.mp && myself::Skill_GetConsumeHP(385155073) < myself.sm.hp && myself::Skill_InReuseDelay(385155073) <= 0 ) {
						if( babble_mode == 1 ) {
							myself::Say("" + gg::IntToStr(gg::FloatToInt(( 385155073 / 65536 ))) + "");
						}
						myself::AddUseSkillDesire(h0.creature,385155073,0,1,( 1000000 * UseSkill_BoostValue ));
					} else if( babble_mode == 1 ) {
						myself::Say(" ˆ!");
					}
				}
			}
			myself::AddTimerEx(TM_WORMWAKE,( TIME_WORMWAKE * 1000 ));
		}
		super;
	}

}
