@LabelIndex 109028
@StringIndex 0
class 0 ordery_fortress_sp : ordery_fortress {
parameter:
	int	mobile_type = 0;
	string	SuperPointName = "";
	int	SuperPointMethod = 2;
	int	SuperPointDesire = 50;

handler:
	EventHandler CREATED(s0) {
		super;
		if( myself::IsNullString(SuperPointName) == 0 ) {
			if( mobile_type == 1 ) {
				myself::AddMoveSuperPointDesire(SuperPointName,SuperPointMethod,SuperPointDesire);
				myself::ChangeMoveType(0);
			}
		} else {
		}
	}

	EventHandler NODE_ARRIVED(script_event_arg1,script_event_arg2,script_event_arg3,s0) {
		if( script_event_arg3 > -1 && mobile_type == 1 ) {
			myself::AddEffectActionDesire(myself.sm,script_event_arg3,10,10000000);
		}
		if( myself::IsNullString(SuperPointName) != 1 ) {
			if( mobile_type == 1 ) {
				myself::AddMoveSuperPointDesire(SuperPointName,SuperPointMethod,SuperPointDesire);
			}
		}
	}

}
