@LabelIndex 34971
@StringIndex 6490
class 0 warrior_fishing_block : warrior_physicalspecial {
parameter:
	int	SayType = 0;

handler:
	EventHandler CREATED(i0,c0) {
		myself.c_ai0 = gg::GetCreatureFromIndex(myself.sm.summoner_id);
		if( gg::IsNull(myself.c_ai0) == 0 ) {
			myself::AddAttackDesire(myself.c_ai0,1,2000);
			i0 = ( ( 1010400 + ( SayType * 9 ) ) + gg::Rand(3) );
			myself::Say(gg::MakeFString(i0,myself.c_ai0.name,"","","",""));
		} else {
			myself::Despawn();
		}
		myself::AddTimerEx(3000,( ( 1000 * 5 ) * 10 ));
		super;
	}

	EventHandler ATTACKED(attacker,damage,i0) {
		if( gg::Rand(100) < 33 ) {
			i0 = ( ( ( 1010400 + 3 ) + ( SayType * 9 ) ) + gg::Rand(3) );
			myself::Say(gg::MakeFString(i0,"","","","",""));
		}
		super;
	}

	EventHandler TIMER_FIRED_EX(timer_id) {
		if( timer_id == 3000 ) {
			if( myself.p_state == 3 && myself.p_state == 10 ) {
				myself::AddTimerEx(3000,( ( 1000 * 5 ) * 10 ));
			} else {
				myself::Despawn();
			}
		}
		super;
	}

	EventHandler MY_DYING(i0) {
		i0 = ( ( ( 1010400 + 6 ) + ( SayType * 9 ) ) + gg::Rand(3) );
		myself::Say(gg::MakeFString(i0,"","","","",""));
		super;
	}

}
