@LabelIndex 895
@StringIndex 0
class 0 guard : citizen {
parameter:
	string	fnHi = "chi.htm";
	string	fnYouAreChaotic = "chi.htm";
	float	Attack_DecayRatio = 6.600000;
	float	UseSkill_DecayRatio = 66000.000000;
	float	Attack_BoostValue = 500.000000;
	float	UseSkill_BoostValue = 100000.000000;

handler:
	EventHandler CREATED() {
		myself::AddTimerEx(9903,( 60 * 1000 ));
		super;
	}

	EventHandler TALKED(talker) {
		if( NoFnHi == 1 ) {
			return;
		}
		if( talker.karma > 0 ) {
		} else {
			myself::ShowPage(talker,fnHi);
		}
	}

	EventHandler ATTACKED(attacker,damage) {
		myself::AddAttackDesire(attacker,1,2000);
	}

	EventHandler SEE_CREATURE(creature) {
		if( creature.karma > 0 ) {
			myself::AddAttackDesire(creature,1,1500);
		}
	}

	EventHandler TIMER_FIRED_EX(timer_id) {
		if( timer_id == 9903 ) {
			if( myself::InMyTerritory(myself.sm) == 0 ) {
				myself::InstantTeleport(myself.sm,myself.start_x,myself.start_y,myself.start_z);
			}
			myself::AddTimerEx(9903,( 60 * 1000 ));
		}
		super;
	}

}
