@LabelIndex 110292
@StringIndex 0
class 0 c_tower_warrior_summon : warrior_use_skill {
parameter:
	string	MyMaker = "maker_name";

handler:
	EventHandler CREATED() {
		myself.i_ai4 = 0;
		super;
	}

	EventHandler ATTACKED(attacker,damage,maker0) {
		if( gg::FloatToInt(( ( myself.sm.hp / myself.sm.max_hp ) * 100 )) < 30 && myself.i_ai4 == 0 ) {
			myself.i_ai4 = 1;
			maker0 = gg::GetNpcMaker(MyMaker);
			if( gg::IsNull(maker0) == 0 ) {
				gg::SendMakerScriptEvent(maker0,88002,0,0);
			}
		}
		super;
	}

}
